[
https://issues.apache.org/jira/browse/HBASE-18624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16131619#comment-16131619
]
Anoop Sam John commented on HBASE-18624:
----------------------------------------
So this is at the Replica cluster. Again this should not be added as API/Shell
in HBase directly. For normal users this make no sense. This is some thing to
be done internally by HBase. Here in replica cluster, there is no other go. So
same CPEP way? May be we can have a way?
You can expose this directly to the Admin or even u can have a CP running in
the primary cluster and hooks after compaction, flush etc. The CP code can use
these EPs provided at the replica clusters to do the refresh of files or clear
of BC.
> 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
> Priority: Minor
> Fix For: 1.4.0
>
>
> 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)