[ https://issues.apache.org/jira/browse/HDFS-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16786934#comment-16786934 ]
Zheng Hu commented on HDFS-3246: -------------------------------- bq. Is it possible for HBase to run their tests against a mini-HDFS cluster, that way the tests can use DFSInputStream which does support the ByteBuffer interfaces. Yes, there're some tricks to make the UT work, such as wrap our own InpuStream which implement the ByteBuffer read by copying byte[] from heap to ByteBuffer, but we still need an compatibility branch between non-ByteBuffer read and ByteBuffer read at HBase side. btw, few comments in here: https://issues.apache.org/jira/browse/HBASE-22005?focusedCommentId=16786915&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16786915 > pRead equivalent for direct read path > ------------------------------------- > > Key: HDFS-3246 > URL: https://issues.apache.org/jira/browse/HDFS-3246 > Project: Hadoop HDFS > Issue Type: Improvement > Components: hdfs-client, performance > Affects Versions: 3.0.0-alpha1 > Reporter: Henry Robinson > Assignee: Sahil Takiar > Priority: Major > Attachments: HDFS-3246.001.patch, HDFS-3246.002.patch, > HDFS-3246.003.patch, HDFS-3246.004.patch, HDFS-3246.005.patch, > HDFS-3246.006.patch > > > There is no pread equivalent in ByteBufferReadable. We should consider adding > one. It would be relatively easy to implement for the distributed case > (certainly compared to HDFS-2834), since DFSInputStream does most of the > heavy lifting. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org