[ https://issues.apache.org/jira/browse/HDFS-6288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13983206#comment-13983206 ]
Colin Patrick McCabe commented on HDFS-6288: -------------------------------------------- Oops, there is a test failure that needs to be addressed. The test failure in {{TestPread}} is because of this new addition: {code} private void doPread(FSDataInputStream stm, long position, byte[] buffer, int offset, int length) throws IOException { int nread = 0; if (!(stm.getWrappedStream() instanceof DFSInputStream)) { throw new IOException("not DFSInputStream"); } ... {code} We need to support non-{{DFSInputStream}} objects here so that we can test {{LocalFS}} and so forth. > DFSInputStream Pread doesn't update ReadStatistics > -------------------------------------------------- > > Key: HDFS-6288 > URL: https://issues.apache.org/jira/browse/HDFS-6288 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.4.0 > Reporter: Juan Yu > Assignee: Juan Yu > Priority: Minor > Attachments: HDFS-6288.002.patch, HDFS-6288.1.patch > > > DFSInputStream Pread doesn't update ReadStatistics. -- This message was sent by Atlassian JIRA (v6.2#6252)