FAQ
Streaming tests fail with NPE in MiniDFSCluster
-----------------------------------------------

Key: MAPREDUCE-891
URL: https://issues.apache.org/jira/browse/MAPREDUCE-891
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: contrib/streaming, test
Reporter: Arun C Murthy
Fix For: 0.21.0


Streaming testcases' usage of MiniDFSCluster.startDatanodes causes NPE in GenericOptionsParser:

{noformat}
java.lang.NullPointerException
at org.apache.commons.cli.GnuParser.flatten(GnuParser.java:110)
at org.apache.commons.cli.Parser.parse(Parser.java:143)
at org.apache.hadoop.util.GenericOptionsParser.parseGeneralOptions(GenericOptionsParser.java:374)
at org.apache.hadoop.util.GenericOptionsParser.(GenericOptionsParser.java:138)
at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1314)
at org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(MiniDFSCluster.java:414)
at org.apache.hadoop.hdfs.MiniDFSCluster.(MiniDFSCluster.java:119)
at org.apache.hadoop.streaming.TestDumpTypedBytes.testDumping(TestDumpTypedBytes.java:40)
{noformat}


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

  • Vinod K V (JIRA) at Aug 20, 2009 at 3:26 am
    [ https://issues.apache.org/jira/browse/MAPREDUCE-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Vinod K V resolved MAPREDUCE-891.
    ---------------------------------

    Resolution: Duplicate

    Duplicate of MAPREDUCE-699
    Streaming tests fail with NPE in MiniDFSCluster
    -----------------------------------------------

    Key: MAPREDUCE-891
    URL: https://issues.apache.org/jira/browse/MAPREDUCE-891
    Project: Hadoop Map/Reduce
    Issue Type: Bug
    Components: contrib/streaming, test
    Reporter: Arun C Murthy
    Fix For: 0.21.0


    Streaming testcases' usage of MiniDFSCluster.startDatanodes causes NPE in GenericOptionsParser:
    {noformat}
    java.lang.NullPointerException
    at org.apache.commons.cli.GnuParser.flatten(GnuParser.java:110)
    at org.apache.commons.cli.Parser.parse(Parser.java:143)
    at org.apache.hadoop.util.GenericOptionsParser.parseGeneralOptions(GenericOptionsParser.java:374)
    at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:153)
    at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:138)
    at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1314)
    at org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(MiniDFSCluster.java:414)
    at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:278)
    at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:119)
    at org.apache.hadoop.streaming.TestDumpTypedBytes.testDumping(TestDumpTypedBytes.java:40)
    {noformat}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmapreduce-dev @
categorieshadoop
postedAug 19, '09 at 5:43p
activeAug 20, '09 at 3:26a
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Vinod K V (JIRA): 2 posts

People

Translate

site design / logo © 2022 Grokbase