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

Lower hbase.regionserver.handler.count from 25 back to 10

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.90.0
    • None
    • None

    Description

      With HBASE-2506 in mind, I tested a low-memory environment (2GB of heap) with a lot of concurrent writers using the default write buffer to verify if a lower number of handlers actually helps reducing the occurrence full GCs. Very unscientifically, at this moment I think it's safe to say that yes, it helps.

      With the defaults, I saw a region server struggling more and more because the random inserters at some point started filling up all the handlers and were all BLOCKED trying to sync the WAL. It's safe to say that each of those clients carried a payload that the GC cannot get rid of and it's one that we don't account for (as opposed to MemStore and the block cache).

      With a much lower setting of 5, I didn't see the situation.

      It kind of confirms my hypothesis but I need to do more proper testing. In the mean time, in order to lower the onslaught of users that write to the ML complaining about either GCs or OOMEs, I think we should set the handlers back to what it was originally (10) for 0.90.0 and add some documentation about configuring hbase.regionserver.handler.count

      I'd like to hear others' thoughts.

      Attachments

        1. HBASE-3303-doc.patch
          2 kB
          Jean-Daniel Cryans
        2. 3303.txt
          3 kB
          Michael Stack
        3. 3303.txt
          3 kB
          Michael Stack

        Activity

          People

            jdcryans Jean-Daniel Cryans
            jdcryans Jean-Daniel Cryans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: