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

Add an hbase shell command to clear deadserver list in ServerManager

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0, 2.0.0-alpha-3, 2.0.0
    • Operability
    • None
    • Reviewed

    Description

      Currently if a regionserver is aborted due to fatal error or stopped by operator on purpose, it will be added into ServerManager#deadservers list and shown as "Dead Servers" in the master UI. This is a valid warn for operators to notice the self-aborted servers and give a sanity check to avoid further issues. However, after necessary checks, even if operator is sure that the node is decommissioned (such as for repair), there's no way to clear the dead server list except restarting master. See more details in this discussion in mail list

      Here we propose to add a hbase shell command to allow clearing dead server list in ServerManager for advanced users, and the command should be executed with caution.

      Attachments

        1. HBASE-18131.patch
          25 kB
          Guangxu Cheng
        2. HBASE-18131.master.v1.patch
          25 kB
          Guangxu Cheng
        3. HBASE-18131.master.v2.patch
          25 kB
          Guangxu Cheng
        4. HBASE-18131.master.v3.patch
          32 kB
          Guangxu Cheng
        5. HBASE-18131.master.v4.patch
          31 kB
          Guangxu Cheng
        6. HBASE-18131.master.v5.patch
          31 kB
          Guangxu Cheng
        7. HBASE-18131.master.v6.patch
          35 kB
          Guangxu Cheng
        8. HBASE-18131.master.v6.patch
          35 kB
          Guangxu Cheng
        9. HBASE-18131.master.v7.patch
          35 kB
          Guangxu Cheng
        10. HBASE-18131.branch-1.v1.patch
          166 kB
          Guangxu Cheng
        11. HBASE-18131.branch-1.v2.patch
          166 kB
          Guangxu Cheng

        Issue Links

          Activity

            People

              gxcheng Guangxu Cheng
              liyu Yu Li
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: