You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guangxu Cheng (JIRA)" <ji...@apache.org> on 2017/09/04 10:40:00 UTC

[jira] [Updated] (HBASE-18131) Add an hbase shell command to clear deadserver list in ServerManager

     [ https://issues.apache.org/jira/browse/HBASE-18131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guangxu Cheng updated HBASE-18131:
----------------------------------
    Attachment: HBASE-18131.patch

> Add an hbase shell command to clear deadserver list in ServerManager
> --------------------------------------------------------------------
>
>                 Key: HBASE-18131
>                 URL: https://issues.apache.org/jira/browse/HBASE-18131
>             Project: HBase
>          Issue Type: New Feature
>          Components: Operability
>            Reporter: Yu Li
>            Assignee: Guangxu Cheng
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: HBASE-18131.patch
>
>
> 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|http://mail-archives.apache.org/mod_mbox/hbase-user/201705.mbox/%3CCAM7-19%2BD4MLu2b1R94%2BtWQDspjfny2sCy4Qit8JtCgjvTOZzzg%40mail.gmail.com%3E] 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)