[
https://issues.apache.org/jira/browse/HBASE-22005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16786915#comment-16786915
]
Zheng Hu commented on HBASE-22005:
----------------------------------
bq. Limitation of the Hadoop version we use in test? Or limitation of all LFS
provided by Hadoop Common?
All hadoop release don't support the ByteBuffer read/pread interface for Local
FS, so it's limitation from HDFS. I think. Thanks [~busbey]
bq. A lot of filesystems don't implement the byte buffer operations, not just
through laziness but because if the underlying APIs used for data just work at
the stream level ...
Well, so this is a legacy issue, even if we start to support the ByteBuffer
read/pread for all fs in future hadoop, it won't be so soon to get in, the
StreamCapabilities idea is acceptable for me, and I can let HBase be
compatible with them. but I still think those basic fs, such as
LocalFileSystem/DistributedFileSystem need the ByteBuffer read/pread method,
it's so common to use ?
> Use ByteBuff's refcnt to track the life cycle of data block
> -----------------------------------------------------------
>
> Key: HBASE-22005
> URL: https://issues.apache.org/jira/browse/HBASE-22005
> Project: HBase
> Issue Type: Sub-task
> Reporter: Zheng Hu
> Assignee: Zheng Hu
> Priority: Major
> Attachments: HBASE-22005.HBASE-21879.v1.patch
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)