hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li Bo (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-10307) Fix a bug in TestShortCircuitLocalRead
Date Tue, 19 Apr 2016 06:18:25 GMT
Li Bo created HDFS-10307:
----------------------------

             Summary: Fix a bug in TestShortCircuitLocalRead
                 Key: HDFS-10307
                 URL: https://issues.apache.org/jira/browse/HDFS-10307
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Li Bo
            Assignee: Li Bo


Unit tests testLocalReadFallback ,testLocalReadLegacy, testSmallFileLocalRead in TestShortCircuitLocalRead
throws the following exception:

java.lang.IndexOutOfBoundsException: Requested more bytes than destination buffer size
	at org.apache.hadoop.fs.FSInputStream.validatePositionedReadArgs(FSInputStream.java:107)
	at org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:975)
	at java.io.DataInputStream.read(DataInputStream.java:149)
	at org.apache.hadoop.hdfs.shortcircuit.TestShortCircuitLocalRead.checkFileContent(TestShortCircuitLocalRead.java:157)
	at org.apache.hadoop.hdfs.shortcircuit.TestShortCircuitLocalRead.doTestShortCircuitReadImpl(TestShortCircuitLocalRead.java:286)
	at org.apache.hadoop.hdfs.shortcircuit.TestShortCircuitLocalRead.doTestShortCircuitReadLegacy(TestShortCircuitLocalRead.java:235)
	at org.apache.hadoop.hdfs.shortcircuit.TestShortCircuitLocalRead.testLocalReadFallback(TestShortCircuitLocalRead.java:327)






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

Mime
View raw message