hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12618) NPE in TestSequenceFile
Date Wed, 09 Dec 2015 13:01:11 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-12618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15048634#comment-15048634
] 

Hudson commented on HADOOP-12618:
---------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #679 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/679/])
HADOOP-12618. Fix NPE in TestSequenceFile. (Brahma Reddy Battula via (umamahesh: rev ad53c520630847834b3e68b7f41aa88ee10b3300)
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestSequenceFile.java


> NPE in TestSequenceFile
> -----------------------
>
>                 Key: HADOOP-12618
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12618
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>             Fix For: 2.8.0, 3.0.0
>
>         Attachments: HADOOP-12618.patch
>
>
> NPE thrown which is hiding actual error...Here it should throw numberformatexpection
since count exceeds integer range.
> {noformat}
> host-1:/opt/Hadoop-Trunk/install/hadoop/bin # ./yarn jar ../share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-3.0.0-SNAPSHOT.jar
testsequencefile -count 1000000000000 hadoop
> java.lang.NullPointerException
> 	at org.apache.hadoop.io.TestSequenceFile.main(TestSequenceFile.java:754)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> 	at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:71)
> 	at org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:144)
> 	at org.apache.hadoop.test.MapredTestDriver.run(MapredTestDriver.java:136)
> 	at org.apache.hadoop.test.MapredTestDriver.main(MapredTestDriver.java:144)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> 	at org.apache.hadoop.util.RunJar.run(RunJar.java:222)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message