[
https://issues.apache.org/jira/browse/HBASE-10333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13872328#comment-13872328
]
Jimmy Xiang commented on HBASE-10333:
-------------------------------------
[~devaraj], [~jeffreyz], could you please take a look the patch? I tested on
my cluster and the assignments are retained with the patch. I tried to add a
unit test but the mini cluster doesn't use the same ports at restart.
> Assignments are not retained on a cluster start
> -----------------------------------------------
>
> Key: HBASE-10333
> URL: https://issues.apache.org/jira/browse/HBASE-10333
> Project: HBase
> Issue Type: Bug
> Reporter: Devaraj Das
> Assignee: Jimmy Xiang
> Attachments: hbase-10333.patch
>
>
> When a cluster is fully shutdown and then started up again with
> hbase.master.startup.retainassign set to true, I noticed that the assignments
> are not retained. Upon digging, it seems like HBASE-10101 made a change due
> to which the server holding the META previously is added to dead-servers (in
> _HMaster.assignMeta_). Later on, this makes the AssignmentManager think that
> the master recovered from a failure as opposed to a fresh cluster start (the
> ServerManager.deadServers list is not empty in the check within
> _AssignmentManager.processDeadServersAndRegionsInTransition_)
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)