Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> HBase starting problem


+
Stijn Diependaele 2012-03-21, 10:19
Copy link to this message
-
Re: HBase starting problem
Hi Stijn,

You seem to be hitting permission issues with /hbase

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)

What are your dfs user permission settings like? Which user are you running
hbase as?

Best Regards,
Sonal
Crux: Reporting for HBase <https://github.com/sonalgoyal/crux>
Nube Technologies <http://www.nubetech.co>

<http://in.linkedin.com/in/sonalgoyal>

On Wed, Mar 21, 2012 at 3:49 PM, Stijn Diependaele <[EMAIL PROTECTED]>wrote:

> 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.htmlto
> 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:
+
Stijn Diependaele 2012-03-22, 13:26
+
Sonal Goyal 2012-03-23, 11:42
+
Stijn Diependaele 2012-04-03, 08:03