hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-18448) EndPoint example for refreshing HFiles for stores
Date Wed, 23 Aug 2017 05:37:00 GMT

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

Anoop Sam John edited comment on HBASE-18448 at 8/23/17 5:36 AM:
-----------------------------------------------------------------

bq.getNumHFilesForRS
Here getting #files from all the online regions.  There might be other table regions also
in this RS.  So we need check the table name for that region and then only get files# from
Store.

Else patch LGTM


was (Author: anoop.hbase):
bq.getNumHFilesForRS
Here getting #files from all the online regions.  There might be other table regions also
in this RS.  So we need check the table name for that region and then only get files# from
Store.

> EndPoint example  for refreshing HFiles for stores
> --------------------------------------------------
>
>                 Key: HBASE-18448
>                 URL: https://issues.apache.org/jira/browse/HBASE-18448
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors
>    Affects Versions: 2.0.0, 1.3.1
>            Reporter: Ajay Jadhav
>            Assignee: Ajay Jadhav
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-18448.branch-1.001.patch, HBASE-18448.branch-1.002.patch,
HBASE-18448.branch-1.003.patch, HBASE-18448.branch-1.004.patch, HBASE-18448.branch-1.005.patch,
HBASE-18448.branch-1.006.patch, HBASE-18448.branch-1.007.patch, HBASE-18448.master.001.patch,
HBASE-18448.master.002.patch
>
>
> In the case where multiple HBase clusters are sharing a common rootDir, even after flushing
the data from
> one cluster doesn't mean that other clusters (replicas) will automatically pick the new
HFile. Through this patch,
> we are exposing the refresh HFiles API which when issued from a replica will update the
in-memory file handle list
> with the newly added file.
> This allows replicas to be consistent with the data written through the primary cluster.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message