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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.94.0
    • 0.94.0
    • master, regionserver, test
    • None
    • all

    • 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.patch
          3 kB
          Nicolas Liochon
        2. 4780_trunk.patch
          3 kB
          Nicolas Liochon
        3. 4780_trunk.v2.patch
          4 kB
          Nicolas Liochon

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: