When starting Hbase cluster, ----------------------------- Key: HBASE-1955 URL: https://issues.apache.org/jira/browse/HBASE-1955 Project: Hadoop HBase Issue Type: Bug Components: master, regionserver Affects Versions: 0.20.1, 0.19.3, 0.20.0 Environment: ulimit -n 1024 2009-11-02 12:42:47,653 INFO org.apache.hadoop.hbase.master.HMaster: vmName=Java HotSpot(TM) 64-Bit Server VM, vmVendor=Sun Microsystems Inc., vmVersion=14.2 -b01 2009-11-02 12:42:47,653 INFO org.apache.hadoop.hbase.master.HMaster: vmInputArguments=[-Xmx1000m, -XX:+HeapDumpOnOutOfMemoryError, -XX:+UseConcMarkSweepGC, - XX:+CMSIncrementalMode, -Dhbase.log.dir=/home/hadoop/hbase/bin/../logs, -Dhbase.log.file=hbase-hadoop-master-px1011.log, -Dhbase.home.dir=/home/hadoop/hbase/ bin/.., -Dhbase.id.str=hadoop, -Dhbase.root.logger=INFO,DRFA, -Djava.library.path=/home/hadoop/hbase/bin/../lib/native/Linux-amd64-64] 2009-11-02 12:42:47,701 INFO org.apache.hadoop.hbase.master.HMaster: My address is px1010.myserver.int:60000 2009-11-02 12:42:48,015 INFO org.apache.hadoop.hbase.ipc.HBaseRpcMetrics: Initializing RPC Metrics with hostName=HMaster, port=60000 2009-11-02 12:42:48,096 INFO org.apache.zookeeper.ZooKeeper: Client environment:zookeeper.version=3.2.1-808558, built on 08/27/2009 18:48 GMT 2009-11-02 12:42:48,096 INFO org.apache.zookeeper.ZooKeeper: Client environment:host.name=px1010.myserver.int 2009-11-02 12:42:48,096 INFO org.apache.zookeeper.ZooKeeper: Client environment:java.version=1.6.0_16 2009-11-02 12:42:48,096 INFO org.apache.zookeeper.ZooKeeper: Client environment:java.vendor=Sun Microsystems Inc. 2009-11-02 12:42:48,097 INFO org.apache.zookeeper.ZooKeeper: Client environment:java.home=/home/hadoop/jdk1.6.0_16/jre 2009-11-02 12:42:48,097 INFO org.apache.zookeeper.ZooKeeper: Client environment:java.class.path=/home/hadoop/hbase/bin/../conf:/home/hadoop/java/lib/tools.ja r:/home/hadoop/hbase/bin/..:/home/hadoop/hbase/bin/../hbase-0.20.1.jar:/home/hadoop/hbase/bin/../lib/AgileJSON-2009-03-30.jar:/home/hadoop/hbase/bin/../lib/c ommons-cli-2.0-SNAPSHOT.jar:/home/hadoop/hbase/bin/../lib/commons-el-from-jetty-5.1.4.jar:/home/hadoop/hbase/bin/../lib/commons-httpclient-3.0.1.jar:/home/ha doop/hbase/bin/../lib/commons-logging-1.0.4.jar:/home/hadoop/hbase/bin/../lib/commons-logging-api-1.0.4.jar:/home/hadoop/hbase/bin/../lib/commons-math-1.1.ja r:/home/hadoop/hbase/bin/../lib/hadoop-0.20.1-hdfs127-core.jar:/home/hadoop/hbase/bin/../lib/hadoop-0.20.1-test.jar:/home/hadoop/hbase/bin/../lib/jasper-comp iler-5.5.12.jar:/home/hadoop/hbase/bin/../lib/jasper-runtime-5.5.12.jar:/home/hadoop/hbase/bin/../lib/jetty-6.1.14.jar:/home/hadoop/hbase/bin/../lib/jetty-ut il-6.1.14.jar:/home/hadoop/hbase/bin/../lib/jruby-complete-1.2.0.jar:/home/hadoop/hbase/bin/../lib/json.jar:/home/hadoop/hbase/bin/../lib/junit-3.8.1.jar:/ho me/hadoop/hbase/bin/../lib/libthrift-r771587.jar:/home/hadoop/hbase/bin/../lib/log4j-1.2.15.jar:/home/hadoop/hbase/bin/../lib/lucene-core-2.2.0.jar:/home/had oop/hbase/bin/../lib/servlet-api-2.5-6.1.14.jar:/home/hadoop/hbase/bin/../lib/xmlenc-0.52.jar:/home/hadoop/hbase/bin/../lib/zookeeper-3.2.1.jar:/home/hadoop/ hbase/bin/../lib/jsp-2.1/jsp-2.1.jar:/home/hadoop/hbase/bin/../lib/jsp-2.1/jsp-api-2.1.jar:/home/hadoop/hbase/hbase-0.20.1.jar:/home/hadoop/hbase/conf 2009-11-02 12:42:48,097 INFO org.apache.zookeeper.ZooKeeper: Client environment:java.library.path=/home/hadoop/hbase/bin/../lib/native/Linux-amd64-64 2009-11-02 12:42:48,097 INFO org.apache.zookeeper.ZooKeeper: Client environment:java.io.tmpdir=/tmp 2009-11-02 12:42:48,097 INFO org.apache.zookeeper.ZooKeeper: Client environment:java.compiler=<NA> 2009-11-02 12:42:48,097 INFO org.apache.zookeeper.ZooKeeper: Client environment:os.name=Linux 2009-11-02 12:42:48,097 INFO org.apache.zookeeper.ZooKeeper: Client environment:os.arch=amd64 2009-11-02 12:42:48,097 INFO org.apache.zookeeper.ZooKeeper: Client environment:os.version=2.6.18-128.el5 2009-11-02 12:42:48,097 INFO org.apache.zookeeper.ZooKeeper: Client environment:user.name=hadoop 2009-11-02 12:42:48,097 INFO org.apache.zookeeper.ZooKeeper: Client environment:user.home=/home/hadoop 2009-11-02 12:42:48,097 INFO org.apache.zookeeper.ZooKeeper: Client environment:user.dir=/home/hadoop/hbase-0.20.1 2009-11-02 12:42:48,097 INFO org.apache.zookeeper.ZooKeeper: Initiating client connection, connectString=c1-zk4:2181,c1-zk3:2181,c1-zk2:2181,c1-zk1:2181,c1-z k5:2181 sessionTimeout=60000 watcher=Thread[Thread-1,5,main] Reporter: Ryan Smith
When i start up HBase cluster, master logs shows zookeeper complaining about being in safe-mode. Manually deleting the safe-mode file from zk using hbase shell, the WARN logs disappear: shell> zk 'delete /hbase/safe-mode' -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.