Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-21514

Refactor CacheConfig

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.2.0
    • None
    • None

    Description

      1. Add block cache and mob file cache to HRegionServer's member variable. One rs has one block cache and one mob file cache.
      2. 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.
      3. 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.

      Attachments

        1. HBASE-21514.master.001.patch
          105 kB
          Guanghao Zhang
        2. HBASE-21514.master.002.patch
          114 kB
          Guanghao Zhang
        3. HBASE-21514.master.003.patch
          116 kB
          Guanghao Zhang
        4. HBASE-21514.master.004.patch
          131 kB
          Guanghao Zhang
        5. HBASE-21514.master.005.patch
          151 kB
          Guanghao Zhang
        6. HBASE-21514.master.006.patch
          152 kB
          Guanghao Zhang
        7. HBASE-21514.master.007.patch
          153 kB
          Guanghao Zhang
        8. HBASE-21514.master.008.patch
          179 kB
          Guanghao Zhang
        9. HBASE-21514.master.009.patch
          179 kB
          Guanghao Zhang
        10. HBASE-21514.master.010.patch
          179 kB
          Guanghao Zhang
        11. HBASE-21514.master.011.patch
          186 kB
          Guanghao Zhang
        12. HBASE-21514.master.011.patch
          186 kB
          Guanghao Zhang
        13. HBASE-21514.master.012.patch
          223 kB
          Guanghao Zhang
        14. HBASE-21514.master.013.patch
          222 kB
          Guanghao Zhang
        15. HBASE-21514.master.013.patch
          222 kB
          Guanghao Zhang
        16. HBASE-21514.master.014.patch
          222 kB
          Guanghao Zhang
        17. HBASE-21514.branch-2.001.patch
          222 kB
          Guanghao Zhang
        18. HBASE-21514.branch-2.002.patch
          223 kB
          Guanghao Zhang
        19. HBASE-21514.branch-2.003.patch
          222 kB
          Guanghao Zhang
        20. HBASE-21514.master.addendum.patch
          1 kB
          Guanghao Zhang

        Issue Links

          Activity

            People

              zghao Guanghao Zhang
              zghao Guanghao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: