hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4000) TestParallelLocalRead fails with "input ByteBuffers must be direct buffers"
Date Thu, 04 Oct 2012 13:01:11 GMT

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

Hudson commented on HDFS-4000:
------------------------------

Integrated in Hadoop-Hdfs-trunk #1185 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1185/])
    HDFS-4000. TestParallelLocalRead fails with "input ByteBuffers must be direct buffers".
Contributed by Colin Patrick McCabe (Revision 1393884)

     Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1393884
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestParallelReadUtil.java

                
> TestParallelLocalRead fails with "input ByteBuffers must be direct buffers"
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-4000
>                 URL: https://issues.apache.org/jira/browse/HDFS-4000
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 2.0.3-alpha
>            Reporter: Eli Collins
>            Assignee: Colin Patrick McCabe
>             Fix For: 2.0.3-alpha
>
>         Attachments: HDFS-4000.001.patch
>
>
> I think this may be related to HDFS-3753, passes when I revert it. Here's failure. Looks
like it needs the same fix as TestShortCircuitLocalRead, not sure why that didn't show up
in the jenkins run.
> {noformat}
> java.lang.AssertionError: Check log for errors
> 	at org.junit.Assert.fail(Assert.java:91)
> 	at org.apache.hadoop.hdfs.TestParallelReadUtil.runTestWorkload(TestParallelReadUtil.java:373)
> 	at org.apache.hadoop.hdfs.TestParallelLocalRead.testParallelReadByteBuffer(TestParallelLocalRead.java:61)
> {noformat}
> {noformat}
> 2012-10-02 15:39:49,481 ERROR hdfs.TestParallelReadUtil (TestParallelReadUtil.java:run(227))
- ReadWorker-1-/TestParallelRead.dat.0: Error while testing read at 199510 length 14773
> java.lang.IllegalArgumentException: input ByteBuffers must be direct buffers
> 	at org.apache.hadoop.util.NativeCrc32.nativeVerifyChunkedSums(Native Method)
> 	at org.apache.hadoop.util.NativeCrc32.verifyChunkedSums(NativeCrc32.java:57)
> 	at org.apache.hadoop.util.DataChecksum.verifyChunkedSums(DataChecksum.java:291)
> 	at org.apache.hadoop.hdfs.BlockReaderLocal.doByteBufferRead(BlockReaderLocal.java:501)
> 	at org.apache.hadoop.hdfs.BlockReaderLocal.read(BlockReaderLocal.java:409)
> 	at org.apache.hadoop.hdfs.DFSInputStream$ByteBufferStrategy.doRead(DFSInputStream.java:561)
> 	at org.apache.hadoop.hdfs.DFSInputStream.readBuffer(DFSInputStream.java:594)
> 	at org.apache.hadoop.hdfs.DFSInputStream.readWithStrategy(DFSInputStream.java:648)
> 	at org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:696)
> 	at org.apache.hadoop.hdfs.TestParallelReadUtil$DirectReadWorkerHelper.read(TestParallelReadUtil.java:91)
> 	at org.apache.hadoop.hdfs.TestParallelReadUtil$DirectReadWorkerHelper.pRead(TestParallelReadUtil.java:104)
> 	at org.apache.hadoop.hdfs.TestParallelReadUtil$ReadWorker.pRead(TestParallelReadUtil.java:275)
> 	at org.apache.hadoop.hdfs.TestParallelReadUtil$ReadWorker.run(TestParallelReadUtil.java:223)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message