zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ablozhou@gmail.com" <abloz...@gmail.com>
Subject zookeeper can't restart
Date Thu, 02 Aug 2012 03:21:53 GMT
hi all,
After I killed all java process, I can't restart hbase, it reports:

Hadoop46: starting zookeeper, logging to
/home/zhouhh/hbase-0.94.0/logs/hbase-zhouhh-zookeeper-Hadoop46.out
Hadoop47: starting zookeeper, logging to
/home/zhouhh/hbase-0.94.0/logs/hbase-zhouhh-zookeeper-Hadoop47.out
Hadoop48: starting zookeeper, logging to
/home/zhouhh/hbase-0.94.0/logs/hbase-zhouhh-zookeeper-Hadoop48.out
Hadoop46: java.lang.RuntimeException: Unable to run quorum server
Hadoop46:       at
org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:454)
Hadoop46:       at
org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:409)
Hadoop46:       at
org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:151)
Hadoop46:       at
org.apache.hadoop.hbase.zookeeper.HQuorumPeer.runZKServer(HQuorumPeer.java:74)
Hadoop46:       at
org.apache.hadoop.hbase.zookeeper.HQuorumPeer.main(HQuorumPeer.java:64)
Hadoop46: Caused by: java.io.IOException: Failed to process transaction
type: 1 error: KeeperErrorCode = NoNode for /hbase
Hadoop46:       at
org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:151)
Hadoop46:       at
org.apache.zookeeper.server.ZKDatabase.loadDataBase(ZKDatabase.java:223)
Hadoop46:       at
org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:417)
Hadoop47: java.lang.RuntimeException: Unable to run quorum server
Hadoop47:       at
org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:454)
Hadoop47:       at
org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:409)
Hadoop47:       at
org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:151)
Hadoop47:       at
org.apache.hadoop.hbase.zookeeper.HQuorumPeer.runZKServer(HQuorumPeer.java:74)
Hadoop47:       at
org.apache.hadoop.hbase.zookeeper.HQuorumPeer.main(HQuorumPeer.java:64)
Hadoop47: Caused by: java.io.IOException: Failed to process transaction
type: 1 error: KeeperErrorCode = NoNode for /hbase
Hadoop47:       at
org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:151)
Hadoop47:       at
org.apache.zookeeper.server.ZKDatabase.loadDataBase(ZKDatabase.java:223)
Hadoop47:       at
org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:417)

while Hadoop48 is HMaster.
but hdfs://xxx/hbase is existed.
[zhouhh@Hadoop47 ~]$ hadoop fs -ls /hbase
Found 113 items
drwxr-xr-x   - zhouhh supergroup          0 2012-07-03 19:24 /hbase/-ROOT-
drwxr-xr-x   - zhouhh supergroup          0 2012-07-03 19:24 /hbase/.META.
...

So what's the problem?
Thanks!

andy

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message