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

Distinguish blockedFlushCount vs unblockedFlushCount when tuning heap memory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0, 1.3.0, 2.0.0
    • None
    • None
    • Reviewed

    Description

      Currently DefaultHeapMemoryTuner doesn't distinguish blockedFlushCount vs unblockedFlushCount.
      In its tune() method:

          long totalFlushCount = blockedFlushCount+unblockedFlushCount;
          rollingStatsForCacheMisses.insertDataValue(cacheMissCount);
          rollingStatsForFlushes.insertDataValue(totalFlushCount);
      

      Occurrence of blocked flush indicates that upper limit for memstore is not sufficient.
      We should either give blockedFlushCount more weight or, take tuning action based on blockedFlushCount directly.

      See discussion from tail of HBASE-13876.

      Attachments

        1. HBASE-13980.patch
          7 kB
          Abhilash
        2. HBASE-13980.patch
          7 kB
          Abhilash
        3. HBASE-13980-v1.patch
          7 kB
          Abhilash
        4. HBASE-13980-v1.patch
          7 kB
          Abhilash

        Issue Links

          Activity

            People

              abhilak Abhilash
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: