From d6adcd04f526f2a1f649af4a5d678f8a8afc1010 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Wed, 28 Oct 2009 21:34:23 +0000 Subject: [PATCH] HBASE-1816 Master Rewrite; redo how we check rootdir in HMaster constructor -- was broke when deploying on cluster git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@830768 13f79535-47bb-0310-9956-ffa450edef68 --- conf/hbase-default.xml | 15 +---- .../apache/hadoop/hbase/master/HMaster.java | 55 ++++++++++--------- .../org/apache/hadoop/hbase/util/FSUtils.java | 40 +------------- 3 files changed, 33 insertions(+), 77 deletions(-) diff --git a/conf/hbase-default.xml b/conf/hbase-default.xml index f9113c50fb7..815f408f1af 100644 --- a/conf/hbase-default.xml +++ b/conf/hbase-default.xml @@ -404,9 +404,8 @@ zookeeper.retries 5 How many times to retry connections to ZooKeeper. Used for - reading/writing root region location, checking/writing out of safe mode. - Used together with ${zookeeper.pause} in an exponential backoff fashion - when making queries to ZooKeeper. + reading/writing root region location. Used together with ${zookeeper.pause} + in an exponential backoff fashion when making queries to ZooKeeper. @@ -435,16 +434,6 @@ this means the root location is stored at /hbase/root-region-server. - - zookeeper.znode.safemode - safe-mode - Path to ephemeral ZNode signifying cluster is out of safe mode. - This is created by the master when scanning is done. Clients wait for this - node before querying the cluster. If a relative path is given, the parent - folder will be ${zookeeper.znode.parent}. By default, this means the safe - mode flag is stored at /hbase/safe-mode. - -