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

Improve the graceful_stop.sh CLI help (especially about reloads)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.94.0
    • Fix Version/s: 0.92.2, 0.94.0
    • Component/s: scripts
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Right now, graceful_stop.sh prints:

      Usage: graceful_stop.sh [--config <conf-dir>] [--restart] [--reload] [--thrift] [--rest] <hostname>
       thrift      If we should stop/start thrift before/after the hbase stop/start
       rest        If we should stop/start rest before/after the hbase stop/start
       restart     If we should restart after graceful stop
       reload      Move offloaded regions back on to the stopped server
       debug       Move offloaded regions back on to the stopped server
       hostname    Hostname of server we are to stop
      

      This does not help us specify that "reload" is actually a sub/additive-option to "restart".

      Also, the "debug" line seems to still have an old copy/paste mistake.

      I've updated these two in the patch here.

        Attachments

          Activity

            People

            • Assignee:
              qwertymaniac Harsh J
              Reporter:
              qwertymaniac Harsh J
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: