chunhui shen created HBASE-6012:
-----------------------------------
Summary: AssignmentManager#asyncSetOfflineInZooKeeper wouldn't
force node offline
Key: HBASE-6012
URL: https://issues.apache.org/jira/browse/HBASE-6012
Project: HBase
Issue Type: Bug
Reporter: chunhui shen
Assignee: chunhui shen
As the javadoc of method and the log message
{code}
/**
* Set region as OFFLINED up in zookeeper asynchronously.
*/
boolean asyncSetOfflineInZooKeeper(
...
master.abort("Unexpected ZK exception creating/setting node OFFLINE", e);
...
}
{code}
I think AssignmentManager#asyncSetOfflineInZooKeeper should also force node
offline, just like AssignmentManager#setOfflineInZooKeeper do. Otherwise, it
may cause bulk assign failed which called this method.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira