You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Heng Chen (JIRA)" <ji...@apache.org> on 2015/10/19 17:10:05 UTC

[jira] [Commented] (HBASE-14643) Avoid Splits from once again opening a closed reader for fetching the first and last key

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

Heng Chen commented on HBASE-14643:
-----------------------------------

IMO we can got the first and last keys before close store files and pass them as params into {{SplitTransactionImpl.splitStoreFiles}},  any concerns?

> Avoid Splits from once again opening a closed reader for fetching the first and last key
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-14643
>                 URL: https://issues.apache.org/jira/browse/HBASE-14643
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: ramkrishna.s.vasudevan
>
> Currently split flow is such that we close the parent region and all its store file readers are also closed.  After that inorder to split the reference files we need the first and last keys for which once again open the readers on those store files.  This could be costlier operation considering the fact that it has to contact the HDFS for this close and open operation. This JIRA is to see if we can improve this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)