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

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

ClearRegionBlockCache  ->  RPC name gives an indication that the BC is for a 
region?   May be just call it ClearBlockCache?  Any way request specifies 
region.
Per table clear is enough?  Need CF specific clear also?
{code}
zookeeper = new ZooKeeperWatcher(conf, ZK_IDENTIFIER_PREFIX + 
connection.toString(),
1490                                           new ThrowableAbortable());
{code}
What is the need for this ZK watcher?

Pls add comments around the Admin API that this is an API for expert Admins. 
They should know the impact of calling this.  We need more details in the 
javadoc.  


> Added support for clearing BlockCache
> -------------------------------------
>
>                 Key: HBASE-18624
>                 URL: https://issues.apache.org/jira/browse/HBASE-18624
>             Project: HBase
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0, 1.3.0
>            Reporter: Ajay Jadhav
>            Assignee: Ajay Jadhav
>             Fix For: 1.4.0
>
>         Attachments: HBASE-18624.branch-1.001.patch, 
> HBASE-18624.master.001.patch
>
>
> Bulk loading the primary HBase cluster triggers a lot of compactions 
> resulting in archival/ creation
> of multiple HFiles. This process will cause a lot of items to become stale in 
> replica’s BlockCache.
> This patch will help users to clear the block cache for a given table by 
> either using shell or API.



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

Reply via email to