You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2019/06/04 04:09:00 UTC

[jira] [Commented] (HBASE-21946) Replace the byte[] pread by ByteBuffer pread in HFileBlock reading once HDFS-3246 prepared

    [ https://issues.apache.org/jira/browse/HBASE-21946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855290#comment-16855290 ] 

Anoop Sam John commented on HBASE-21946:
----------------------------------------

pom changes ok?
{code}
return preadWithoutHeapBuffer(buff, dis, position, necessaryLen, extraLen);
212	    } catch (UnsupportedOperationException e) {
{code}
Can there be a way with out catch Exception and then go with old way of read.  Like isBBSupported kind API or so available?

> 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: Sub-task
>            Reporter: Zheng Hu
>            Assignee: Zheng Hu
>            Priority: Major
>         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
(v7.6.3#76005)