[
https://issues.apache.org/jira/browse/HBASE-18624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16202935#comment-16202935
]
Anoop Sam John commented on HBASE-18624:
----------------------------------------
You mean that would indicate the % cache been cleared? WRT space none of this
can give a better corrected value. Because the size depend not just on count
of blocks been evicted but each ones size too. In BC any of the evict APIs
calculating the size been cleared? Ya that would be the best return if it can
say the size. This Admin API can return an Object so that later , if needed,
we can add new states easily with out breaking the BC? Just saying as we are
having a Public API here/
> Added support for clearing BlockCache based on table name
> ---------------------------------------------------------
>
> 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: Zach York
> Fix For: 2.0.0, 1.4.0
>
> Attachments: HBASE-18624.branch-1.001.patch,
> HBASE-18624.master.001.patch, HBASE-18624.master.002.patch,
> HBASE-18624.master.003.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)