HBASE-1471 During cluster shutdown, deleting zookeeper regionserver nodes causes exceptions
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@780872 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7416b4ceaf
commit
e99a716ffe
|
@ -158,6 +158,8 @@ Release 0.20.0 - Unreleased
|
|||
their region assignments from the last master
|
||||
HBASE-1457 Taking down ROOT/META regionserver can result in cluster
|
||||
becoming in-operational (Ryan Rawson via Stack)
|
||||
HBASE-1471 During cluster shutdown, deleting zookeeper regionserver nodes
|
||||
causes exceptions
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-1089 Add count of regions on filesystem to master UI; add percentage
|
||||
|
|
|
@ -529,7 +529,7 @@ public class ZooKeeperWrapper implements HConstants {
|
|||
List<String> nodes = zooKeeper.getChildren(rsZNode, false);
|
||||
for (String node : nodes) {
|
||||
LOG.debug("Deleting node: " + node);
|
||||
zooKeeper.delete(node, -1);
|
||||
zooKeeper.delete(joinPath(this.rsZNode, node), -1);
|
||||
}
|
||||
} catch (KeeperException e) {
|
||||
LOG.warn("Failed to delete " + rsZNode + " znode in ZooKeeper: " + e);
|
||||
|
|
Loading…
Reference in New Issue