Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10367 RegionServer graceful stop / decommissioning
  3. HBASE-10688

Add a draining_node script to manage nodes in draining mode

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.99.0
    • scripts
    • None
    • Reviewed
    • Hide
      Adds a ruby script to manage nodes in draining mode.
      Usage: ./hbase org.jruby.Main draining_servers.rb [options] add|remove|list <hostname>|<host:port>|<servername> ...
      Add remove or list servers in draining mode. Can accept either hostname to drain all region serversin that host, a host:port pair or a host,port,startCode triplet. More than one server can be given separated by space
      Show
      Adds a ruby script to manage nodes in draining mode. Usage: ./hbase org.jruby.Main draining_servers.rb [options] add|remove|list <hostname>|<host:port>|<servername> ... Add remove or list servers in draining mode. Can accept either hostname to drain all region serversin that host, a host:port pair or a host,port,startCode triplet. More than one server can be given separated by space

    Description

      As per parent issue, our support for graceful stop and node decommissioning can be improved a lot. However, until we fix it for good, we can add a draining_node script to manage the nodes in draining mode in zk.

      Attachments

        1. 0001-HBASE-10688-v1.patch
          5 kB
          Enis Soztutar

        Activity

          People

            enis Enis Soztutar
            enis Enis Soztutar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: