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

Lower mini cluster shutdown time in HRegionServer#waitOnAllRegionsToClose and ServerManager#letRegionServersShutdown

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.94.0
    • Fix Version/s: 0.94.0
    • Component/s: master, regionserver, test
    • Labels:
      None
    • Environment:

      all

    • Hadoop Flags:
      Reviewed

      Description

      HRegionServer#waitOnAllRegionsToClose sleep 1s
      Lower waiting time
      benefits: around 0.8s at shutdown

      ServerManager.letRegionServersShutdown() waits 1 second => responsible for 0.5 seconds in a HBase cluster stops
      Can be replaced by a notification
      Benefits: around 0.5s at shutdown

        Attachments

        1. 4780_trunk.v2.patch
          4 kB
          Nicolas Liochon
        2. 4780_trunk.patch
          3 kB
          Nicolas Liochon
        3. 4780_trunk.patch
          3 kB
          Nicolas Liochon

          Issue Links

            Activity

              People

              • Assignee:
                nkeywal Nicolas Liochon
                Reporter:
                nkeywal Nicolas Liochon
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: