[
https://issues.apache.org/jira/browse/HBASE-3833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035840#comment-13035840
]
Vishal Kathuria commented on HBASE-3833:
----------------------------------------
Hi stack,
Here is some more info on the design
ServerManager::decommissionServer(serverInfo) f
1. first puts the node in decommissioned list so no new regions get placed on
this node. decommissioned list prevents a node with that name from joining in
but doesn't kick the node out if it is already joined in.
2. enqueues a shutdownhandler to move all the regions off this node
3. once the shutdown handler is done doing that, then it marks the node dead.
It is only at this point that the region server gets a YouAreDeadException and
shuts itself down.
So this is supposed to do gentle offload of regions. That's why I had to put a
wait in my test because the gentle offload can take some time.
I did check in the debug logs that the regions are offloaded before the server
gets shut down - so its working for me. Please go ahead and hack this in :)
Re Karthik's suggestion of timeout, I'll open a separate task for it. Off the
top of my head, I can't think of a simple way of implementing it
Thanks a lot for reviewing and committing this change!
Vishal
> ability to support includes/excludes list in Hbase
> --------------------------------------------------
>
> Key: HBASE-3833
> URL: https://issues.apache.org/jira/browse/HBASE-3833
> Project: HBase
> Issue Type: Improvement
> Components: client, regionserver
> Affects Versions: 0.90.2
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
> Attachments: excl-patch.txt, excl-patch.txt
>
>
> An HBase cluster currently does not have the ability to specify that the
> master should accept regionservers only from a specified list. This helps
> preventing administrative errors where the same machine could be included in
> two clusters. It also allows the administrator to easily remove un-ssh-able
> machines from the cluster.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira