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:
parent
64740a5c07
commit
3fe9d15c18
@ -118,6 +118,9 @@ public class ZKDataMigrator extends Configured implements Tool {
|
|||||||
} else if (child.equals(SnapshotManager.ONLINE_SNAPSHOT_CONTROLLER_DESCRIPTION)) {
|
} else if (child.equals(SnapshotManager.ONLINE_SNAPSHOT_CONTROLLER_DESCRIPTION)) {
|
||||||
// not needed as it is transient.
|
// not needed as it is transient.
|
||||||
ZKUtil.deleteNodeRecursively(zkw, childPath);
|
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) {
|
} catch (Exception e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user