From 2c6c26e139f4af7a01e590854b08e1c2a73b3fa4 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Fri, 30 Jan 2009 01:22:05 +0000 Subject: [PATCH] HBASE-1144 Store the ROOT region location in Zookeeper git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@739115 13f79535-47bb-0310-9956-ffa450edef68 --- conf/hbase-default.xml | 54 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/conf/hbase-default.xml b/conf/hbase-default.xml index 5ffc5a43de3..9ce45ccc0b3 100644 --- a/conf/hbase-default.xml +++ b/conf/hbase-default.xml @@ -331,4 +331,58 @@ supported now: murmur (MurmurHash) and jenkins (JenkinsHash). + + zookeeper.session.timeout + 10000 + ZooKeeper session timeout. This option is not used by HBase + directly, it is for the internals of ZooKeeper. HBase merely passes it in + whenever a connection is established to ZooKeeper. It is used by ZooKeeper + for hearbeats. In milliseconds. + + + + 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. + + + + zookeeper.pause + 2000 + Sleep time between retries to ZooKeeper. In milliseconds. Used + together with ${zookeeper.retries} in an exponential backoff fashion when + making queries to ZooKeeper. + + + + zookeeper.znode.parent + /hbase + Root ZNode for HBase in ZooKeeper. All of HBase's ZooKeeper + files that are configured with a relative path will go under this node. + By default, all of HBase's ZooKeeper file patsh are configured with a + relative path, so they will all go under this directory unless changed. + + + + zookeeper.znode.rootserver + root-region-server + Path to ZNode holding root region location. This is written by + the master and read by clients and region servers. If a relative path is + given, the parent folder will be ${zookeeper.znode.parent}. By default, + 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. + +