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:
ramkrishna 2012-12-29 04:39:41 +00:00
parent 3704dc67f6
commit 6a73d59a19
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ public class ZooKeeperWatcher implements Watcher, Abortable, Closeable {
private void createBaseZNodes() throws ZooKeeperConnectionException { private void createBaseZNodes() throws ZooKeeperConnectionException {
try { try {
// Create all the necessary "directories" of znodes // Create all the necessary "directories" of znodes
ZKUtil.createAndFailSilent(this, baseZNode); ZKUtil.createWithParents(this, baseZNode);
ZKUtil.createAndFailSilent(this, assignmentZNode); ZKUtil.createAndFailSilent(this, assignmentZNode);
ZKUtil.createAndFailSilent(this, rsZNode); ZKUtil.createAndFailSilent(this, rsZNode);
ZKUtil.createAndFailSilent(this, drainingZNode); ZKUtil.createAndFailSilent(this, drainingZNode);