[
https://issues.apache.org/jira/browse/HBASE-21514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16723962#comment-16723962
]
Anoop Sam John commented on HBASE-21514:
----------------------------------------
Thanks for the nice cleanup/ improvement.. Similar is required in the MSLAB
chunks and pool level too.. Will be doing soon.
cc [~ram_krish]
> Refactor CacheConfig
> --------------------
>
> Key: HBASE-21514
> URL: https://issues.apache.org/jira/browse/HBASE-21514
> Project: HBase
> Issue Type: Improvement
> Reporter: Guanghao Zhang
> Assignee: Guanghao Zhang
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: HBASE-21514.branch-2.001.patch,
> HBASE-21514.branch-2.002.patch, HBASE-21514.branch-2.003.patch,
> HBASE-21514.master.001.patch, HBASE-21514.master.002.patch,
> HBASE-21514.master.003.patch, HBASE-21514.master.004.patch,
> HBASE-21514.master.005.patch, HBASE-21514.master.006.patch,
> HBASE-21514.master.007.patch, HBASE-21514.master.008.patch,
> HBASE-21514.master.009.patch, HBASE-21514.master.010.patch,
> HBASE-21514.master.011.patch, HBASE-21514.master.011.patch,
> HBASE-21514.master.012.patch, HBASE-21514.master.013.patch,
> HBASE-21514.master.013.patch, HBASE-21514.master.014.patch,
> HBASE-21514.master.addendum.patch
>
>
> # Add block cache and mob file cache to HRegionServer's member variable. One
> rs has one block cache and one mob file cache.
> # Move the global cache instances from CacheConfig to BlockCacheFactory.
> Only keep config stuff in CacheConfig. And the CacheConfig still have a
> reference to the RegionServer's block cache. Whether to cache a block need
> block cache is present and the related config is true.
> # Remove MobCacheCofnig. It only used for the global mob file cache
> instance. After move the mob file cache to RegionServer. It is not used
> anymore.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)