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

Add metrics around HeapMemoryManager

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None
    • Hide
      A memory metrics reveals situations happened in both MemStores and BlockCache in RegionServer. Through this metrics, users/operators can know
      1). Current size of MemStores and BlockCache in bytes.
      2). Occurrence for Memstore minor and major flush. (named unblocked flush and blocked flush respectively, shown in histogram)
      3). Dynamic changes in size between MemStores and BlockCache. (with Increase/Decrease as prefix, shown in histogram). And a counter for no changes, named DoNothingCounter.
      4). Occurrence for memory usage alarm (used more than 95% by default) in RegionServer. (named AboveHeapOccupancyLowWatermarkCounter)
      Show
      A memory metrics reveals situations happened in both MemStores and BlockCache in RegionServer. Through this metrics, users/operators can know 1). Current size of MemStores and BlockCache in bytes. 2). Occurrence for Memstore minor and major flush. (named unblocked flush and blocked flush respectively, shown in histogram) 3). Dynamic changes in size between MemStores and BlockCache. (with Increase/Decrease as prefix, shown in histogram). And a counter for no changes, named DoNothingCounter. 4). Occurrence for memory usage alarm (used more than 95% by default) in RegionServer. (named AboveHeapOccupancyLowWatermarkCounter)

    Description

      it would be good to know how many invocations there have been.
      How many decided to expand memstore.
      How many decided to expand block cache.
      How many decided to do nothing.
      etc.

      When that's done use those metrics to clean up the tests.

      Attachments

        1. HBASE-14743.009.patch
          26 kB
          Reid Chan
        2. HBASE-14743.009.rw3.patch
          26 kB
          Reid Chan
        3. HBASE-14743.009.v2.patch
          26 kB
          Reid Chan
        4. HBASE-14743.010.patch
          26 kB
          Reid Chan
        5. HBASE-14743.010.v2.patch
          26 kB
          Reid Chan
        6. HBASE-14743.011.patch
          27 kB
          Reid Chan
        7. Metrics snapshot 2016-6-30.png
          55 kB
          Reid Chan
        8. Screen Shot 2016-06-16 at 5.39.13 PM.png
          370 kB
          Michael Stack
        9. test2_1.png
          367 kB
          Apekshit Sharma
        10. test2_2.png
          345 kB
          Apekshit Sharma
        11. test2_3.png
          342 kB
          Apekshit Sharma
        12. test2_4.png
          360 kB
          Apekshit Sharma

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            reidchan Reid Chan
            eclark Elliott Neil Clark
            Votes:
            0 Vote for this issue
            Watchers:
            10 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment