HBASE-7258 Hbase needs to create baseZNode recursively (Liu Shaohui via Ram)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1426707 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3704dc67f6
commit
6a73d59a19
|
@ -159,7 +159,7 @@ public class ZooKeeperWatcher implements Watcher, Abortable, Closeable {
|
|||
private void createBaseZNodes() throws ZooKeeperConnectionException {
|
||||
try {
|
||||
// Create all the necessary "directories" of znodes
|
||||
ZKUtil.createAndFailSilent(this, baseZNode);
|
||||
ZKUtil.createWithParents(this, baseZNode);
|
||||
ZKUtil.createAndFailSilent(this, assignmentZNode);
|
||||
ZKUtil.createAndFailSilent(this, rsZNode);
|
||||
ZKUtil.createAndFailSilent(this, drainingZNode);
|
||||
|
|
Loading…
Reference in New Issue