[ https://issues.apache.org/jira/browse/HDFS-5574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14516940#comment-14516940 ]
Binglin Chang commented on HDFS-5574: ------------------------------------- Strange, the test error is caused by NoSuchMethodError, which should not happen if code is compiled successfully, is there any bug in test-patch process? {code} java.lang.NoSuchMethodError: org.apache.hadoop.fs.FSInputChecker.readAndDiscard(I)I at org.apache.hadoop.hdfs.RemoteBlockReader.read(RemoteBlockReader.java:128) at org.apache.hadoop.hdfs.DFSInputStream$ByteArrayStrategy.doRead(DFSInputStream.java:740) at org.apache.hadoop.hdfs.DFSInputStream.readBuffer(DFSInputStream.java:796) at org.apache.hadoop.hdfs.DFSInputStream.readWithStrategy(DFSInputStream.java:856) at org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:899) at org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:700) at org.apache.hadoop.hdfs.TestDFSInputStream.testSkipInner(TestDFSInputStream.java:61) at org.apache.hadoop.hdfs.TestDFSInputStream.testSkipWithRemoteBlockReader(TestDFSInputStream.java:76) {code} > Remove buffer copy in BlockReader.skip > -------------------------------------- > > Key: HDFS-5574 > URL: https://issues.apache.org/jira/browse/HDFS-5574 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Binglin Chang > Assignee: Binglin Chang > Priority: Trivial > Attachments: HDFS-5574.006.patch, HDFS-5574.007.patch, > HDFS-5574.008.patch, HDFS-5574.v1.patch, HDFS-5574.v2.patch, > HDFS-5574.v3.patch, HDFS-5574.v4.patch, HDFS-5574.v5.patch > > > BlockReaderLocal.skip and RemoteBlockReader.skip uses a temp buffer to read > data to this buffer, it is not necessary. -- This message was sent by Atlassian JIRA (v6.3.4#6332)