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.