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:
Michael Stack 2009-06-01 23:05:35 +00:00
parent 7416b4ceaf
commit e99a716ffe
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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);