I'm trying to setup HBase on top of my HDFS filesystem.
I currently have 6 servers but only 3 are configured to run zookeeper and
HBase, for testing purposes and the idea of adding the other servers when
this works.
I'm following this guide http://hbase.apache.org/book/configuration.html to
set it up.

I can paste the entire log in pastebin if you want.
HBase-site.xml : http://pastebin.com/Gb8UFSHj

Errors in the log files:

Zookeeper:
----------

logs/hbase-root-zookeeper-HADOOP.domain.be.log (master)
....
....
2012-03-21 09:58:39,576 INFO org.apache.zookeeper.server.ZooKeeperServer:
Established session 0x36347aae9a0000 with negotiated timeout 180000 for
client /10.11.12.206:43325
2012-03-21 09:58:39,611 WARN org.apache.zookeeper.server.NIOServerCnxn:
caught end of stream exception
EndOfStreamException: Unable to read additional data from client sessionid
0x36347aae9a0000, likely client has closed socket
    at
org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:220)
    at
org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:224)
    at java.lang.Thread.run(Thread.java:722)
2012-03-21 09:58:39,617 INFO org.apache.zookeeper.server.NIOServerCnxn:
Closed socket connection for client /10.11.12.206:43325 which had sessionid
0x36347aae9a0000
....
....

on a znode:
logs/hbase-root-zookeeper-HDP08.domain.be.log
.....
.....
2012-03-21 09:58:31,290 INFO
org.apache.zookeeper.server.quorum.QuorumPeerConfig: Defaulting to majority
quorums
2012-03-21 09:58:31,433 DEBUG org.apache.hadoop.hbase.util.VersionInfo:
preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@4a1908,
name=log4j:logger=org.apache.hadoop.hbase.util.VersionInfo
2012-03-21 09:58:31,434 DEBUG org.apache.hadoop.hbase.zookeeper.ZKConfig:
preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@4a1908,
name=log4j:logger=org.apache.hadoop.hbase.zookeeper.ZKConfig
2012-03-21 09:58:31,434 DEBUG org.apache.hadoop.hbase.HBaseConfiguration:
preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@4a1908,
name=log4j:logger=org.apache.hadoop.hbase.HBaseConfiguration
2012-03-21 09:58:31,435 DEBUG org.apache.hadoop.hbase: preRegister called.
Server=com.sun.jmx.mbeanserver.JmxMBeanServer@4a1908,
name=log4j:logger=org.apache.hadoop.hbase
2012-03-21 09:58:31,435 INFO
org.apache.zookeeper.server.quorum.QuorumPeerMain: Starting quorum peer
2012-03-21 09:58:31,836 INFO org.apache.zookeeper.Login: successfully
logged in.
2012-03-21 09:58:31,842 INFO org.apache.zookeeper.Login: TGT refresh thread
started.
.....
.....
a bit further down the log file:
....
....
2012-03-21 09:58:32,425 INFO
org.apache.zookeeper.server.quorum.LearnerHandler: Sending snapshot last
zxid of peer is 0x1800000012  zxid of leader is 0x1900000000sent zxid of db
as 0x1800000012
2012-03-21 09:58:32,466 WARN org.apache.zookeeper.server.quorum.Leader:
Commiting zxid 0x1900000000 from /10.11.12.208:2888 not first!
2012-03-21 09:58:32,466 WARN org.apache.zookeeper.server.quorum.Leader:
First is 0
2012-03-21 09:58:32,466 INFO org.apache.zookeeper.server.quorum.Leader:
Have quorum of supporters; starting up and setting last processed zxid:
107374182400
2012-03-21 09:58:36,505 INFO
org.apache.zookeeper.server.quorum.QuorumCnxManager: Received connection
request /10.11.12.200:46015
....
....

HBase:
-----
master:
....
....
2012-03-21 09:58:39,162 WARN org.apache.zookeeper.ClientCnxn: Zookeeper
client cannot authenticate using the Client section of the supplied
configuration file: '/home/Stijn/hbase-0.92.0/conf/jaas.conf'. Will
continue connection to Zookeeper server without SASL authentication, if
Zookeeper server allows it.
....
....
2012-03-21 09:58:39,313 INFO org.apache.zookeeper.ClientCnxn: Session
establishment complete on server HDP06.domain.be/10.11.12.206:2222,
sessionid = 0x136347a9db40000, negotiated timeout = 180000
2012-03-21 09:58:39,454 ERROR
org.apache.hadoop.hbase.master.HMasterCommandLine: Failed to start master
java.lang.RuntimeException: Failed construction of Master: class
org.apache.hadoop.hbase.master.HMaster
    at
org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:1588)
    at
org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:144)
    at
org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:103)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
    at
org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76)
    at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1602)
Caused by: org.apache.zookeeper.KeeperException$InvalidACLException:
KeeperErrorCode = InvalidACL for /hbase
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:121)
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
    at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:778)
    .....
    .....

Reply via email to