HBASE-10581: ACL znode are left without PBed during upgrading hbase0.94* to hbase0.96+

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1571519 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jeffreyz 2014-02-25 01:30:51 +00:00
parent 64740a5c07
commit 3fe9d15c18
1 changed files with 3 additions and 0 deletions

View File

@ -118,6 +118,9 @@ public class ZKDataMigrator extends Configured implements Tool {
} else if (child.equals(SnapshotManager.ONLINE_SNAPSHOT_CONTROLLER_DESCRIPTION)) {
// not needed as it is transient.
ZKUtil.deleteNodeRecursively(zkw, childPath);
} else if (child.equals(conf.get("zookeeper.znode.acl.parent", "acl"))) {
// it will be re-created when hbase:acl is re-opened
ZKUtil.deleteNodeRecursively(zkw, childPath);
}
}
} catch (Exception e) {