[
https://issues.apache.org/jira/browse/HBASE-24208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17086358#comment-17086358
]
Anoop Sam John commented on HBASE-24208:
----------------------------------------
Saying about removing the zk node when this decommissioned (drained) RS is been
stopped. When it is restarted anyways it wont be the same old instance. The
servername will be different as the start time part of it will be different at
least. The ZK node is required to be maintained as long as this RS is still
around in the cluster. So once that is removed from cluster (to be precise we
should call it RS instance) the zk node is of no use really.
> Remove RS entry from zk draining servers node while RS getting stopped
> ----------------------------------------------------------------------
>
> Key: HBASE-24208
> URL: https://issues.apache.org/jira/browse/HBASE-24208
> Project: HBase
> Issue Type: Improvement
> Reporter: Anoop Sam John
> Assignee: Anoop Sam John
> Priority: Major
>
> When a RS is been decommissioned, we will add an entry into the zk node. This
> will be there unless the same RS instance is recommissioned.
> But if we want to scale down a cluster, the best path would be to
> decommission the RSs in the scaling down nodes. The regions in these RSs
> will get moved to live RSs. In this case these decommissioned RSs will get
> stopped later. These will never get recommissioned. The zk nodes will still
> be there under draining servers path.
> We can remove this zk node when the RS is getting stopped.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)