You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "chunhui shen (JIRA)" <ji...@apache.org> on 2017/02/03 02:35:51 UTC

[jira] [Commented] (HBASE-15314) Allow more than one backing file in bucketcache

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

chunhui shen commented on HBASE-15314:
--------------------------------------

Sorry, I still haven't got the benefit point if  blocks are guaranteed to reside in a single segment.

With either of the two approaches, I think the BucketCache can still continue operating if device failure.

In fact, the attachment 'FileIOEngine.java ' also includes the logic of tolerating device failure.

bq.This does not happen in the patch I submitted, but it could be an improvement that you wouldn't be able to easily handle if HBase blocks crossed segments.
Thus, I don't t agree that it wouldn't be able to easily handle if HBase blocks crossed segments.

At last, I still think the BucketCache shouldn't be aware of multi-segments, the FileIOEngine should provide a contiguous storage with several physical devices,  just like RAID. 



> Allow more than one backing file in bucketcache
> -----------------------------------------------
>
>                 Key: HBASE-15314
>                 URL: https://issues.apache.org/jira/browse/HBASE-15314
>             Project: HBase
>          Issue Type: Sub-task
>          Components: BucketCache
>            Reporter: stack
>            Assignee: Aaron Tokhy
>         Attachments: FileIOEngine.java, HBASE-15314.master.001.patch, HBASE-15314.master.001.patch, HBASE-15314.patch, HBASE-15314-v2.patch, HBASE-15314-v3.patch
>
>
> Allow bucketcache use more than just one backing file: e.g. chassis has more than one SSD in it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)