[
https://issues.apache.org/jira/browse/HBASE-21514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guanghao Zhang updated HBASE-21514:
-----------------------------------
Description:
# move the global cache instances from CacheConfig to BlockCacheFactory. Only
keep config stuff in CacheConfig.
# Move block cache to HRegionServer's member variable. One rs has one block
cache.
# Still keepĀ GLOBAL_BLOCK_CACHE_INSTANCE in BlockCacheFactory. As there are
some unit tests which don't start a mini cluster. But want to use block cache,
too.
was:
# move the global cache instances from CacheConfig. Only keep config stuff in
CacheConfig.
# Move block cache to HRegionServer's member variable. One rs has one block
cache.
> 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.master.001.patch,
> HBASE-21514.master.002.patch, HBASE-21514.master.003.patch,
> HBASE-21514.master.004.patch, HBASE-21514.master.005.patch
>
>
> # move the global cache instances from CacheConfig to BlockCacheFactory. Only
> keep config stuff in CacheConfig.
> # Move block cache to HRegionServer's member variable. One rs has one block
> cache.
> # Still keepĀ GLOBAL_BLOCK_CACHE_INSTANCE in BlockCacheFactory. As there are
> some unit tests which don't start a mini cluster. But want to use block
> cache, too.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)