hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6879) TestDFSIO#sequentialTest throws java.lang.NullPointerException due to uninitialized IOStream
Date Wed, 07 Jun 2017 06:24:18 GMT

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

ASF GitHub Bot commented on MAPREDUCE-6879:
-------------------------------------------

Github user wenxinhe closed the pull request at:

    https://github.com/apache/hadoop/pull/215


> TestDFSIO#sequentialTest throws java.lang.NullPointerException due to uninitialized IOStream
> --------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6879
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6879
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: benchmarks
>    Affects Versions: 2.7.3, 3.0.0-alpha2
>            Reporter: wenxin he
>            Priority: Minor
>
> When I use {color:red} -seq {color} arg to write files, TestDFSIO#sequentialTest throws
java.lang.NullPointerException due to uninitialized stream inherited from IOMapperBase:
> {code}
> [root@7b65290f2609 hadoop-3.0.0-alpha3-SNAPSHOT]# bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-3.0.0-alpha3-SNAPSHOT-tests.jar
TestDFSIO -seq -write
> 2017-04-20 15:50:43,505 INFO fs.TestDFSIO: TestDFSIO.1.8
> 2017-04-20 15:50:43,510 INFO fs.TestDFSIO: nrFiles = 1
> 2017-04-20 15:50:43,510 INFO fs.TestDFSIO: nrBytes (MB) = 1.0
> 2017-04-20 15:50:43,510 INFO fs.TestDFSIO: bufferSize = 1000000
> 2017-04-20 15:50:43,510 INFO fs.TestDFSIO: baseDir = /benchmarks/TestDFSIO
> 2017-04-20 15:50:43,655 WARN util.NativeCodeLoader: Unable to load native-hadoop library
for your platform... using builtin-java classes where applicable
> java.lang.NullPointerException
> 	at org.apache.hadoop.fs.TestDFSIO$WriteMapper.doIO(TestDFSIO.java:427)
> 	at org.apache.hadoop.fs.TestDFSIO$WriteMapper.doIO(TestDFSIO.java:395)
> 	at org.apache.hadoop.fs.TestDFSIO.sequentialTest(TestDFSIO.java:722)
> 	at org.apache.hadoop.fs.TestDFSIO.run(TestDFSIO.java:846)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
> 	at org.apache.hadoop.fs.TestDFSIO.main(TestDFSIO.java:731)
> 	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:498)
> 	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:498)
> 	at org.apache.hadoop.util.RunJar.run(RunJar.java:239)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:153)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org


Mime
View raw message