[
https://issues.apache.org/jira/browse/HBASE-21946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17370485#comment-17370485
]
Wei-Chiu Chuang commented on HBASE-21946:
-----------------------------------------
I have a patch that uses DFSInputStream.hasCapability() API to detect which
read() API to use.
Using this approach, I can come up with a solution that is compatible with any
Hadoop version >= 2.9.1.
[~openinx] can i take over this jira?
> Replace the byte[] pread by ByteBuffer pread in HFileBlock reading once
> HDFS-3246 prepared
> ------------------------------------------------------------------------------------------
>
> Key: HBASE-21946
> URL: https://issues.apache.org/jira/browse/HBASE-21946
> Project: HBase
> Issue Type: Improvement
> Components: Offheaping
> Reporter: Zheng Hu
> Assignee: Zheng Hu
> Priority: Critical
> Fix For: 2.5.0, 3.0.0-alpha-2
>
> Attachments: HBASE-21946.HBASE-21879.v01.patch,
> HBASE-21946.HBASE-21879.v02.patch, HBASE-21946.HBASE-21879.v03.patch,
> HBASE-21946.HBASE-21879.v04.patch
>
>
> [~stakiar] is working on HDFS-3246, so now we have to keep the byte[] pread
> in HFileBlock reading. Once it get resolved, we can upgrade the hadoop
> version and do the replacement.
> I think it will be a great p999 latency improvement in 100% Get case, anyway
> file a issue address this firstly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)