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

Avoid multiple disable/enable balancer calls while running rolling-restart.sh --graceful

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.4, 1.0.4, 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: scripts
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When running rolling-restart.sh --graceful we are using graceful_stop.sh to unload/restart/load regionserver. For every restarted regionserver we are making two calls in graceful-stop.sh to hbase shell to disable/enable balancer. This means if we have 100 regionservers to restart by rolling-restart.sh --graceful we will make 200 calls to hbase shell. Instead i propose that we add optional parameter in graceful_stop.sh that will tell script not to manage balancer and manage balancer states in rolling-restart.sh when running with --graceful parameter.

        Attachments

        1. HBASE-15486_v2.patch
          4 kB
          Samir Ahmic
        2. HBASE-15486_v1.patch
          4 kB
          Samir Ahmic
        3. HBASE-15486_v0.patch
          4 kB
          Samir Ahmic

          Activity

            People

            • Assignee:
              asamir Samir Ahmic
              Reporter:
              asamir Samir Ahmic
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: