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

Switch to Threaded View
HBase, mail # user - ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7 Times


Copy link to this message
-
ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7 Times
Bing Li 2012-02-13, 18:09
Dear all,

After searching on the Web and asking for help from friends, I noticed that
the pseudo distributed configuration in the book, HBase the Definitive
Guide, was not complete. Now the ZooKeeper related exception is fixed.
However, I got another error when typing "status" in the HBase shell.

    ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7
Times

I am trying to fix it myself. Your help is highly appreciated.

Thanks so much!
Bing Li

On Mon, Feb 13, 2012 at 5:00 AM, Bing Li <[EMAIL PROTECTED]> wrote:

> Dear all,
>
> I am a new learner of HBase. I tried to set up my HBase on a
> pseudo-distributed HDFS.
>
> After starting HDFS by running ./start-dfs.sh and ./start-hbase.sh, I
> started the HBase shell.
>
>    ./hbase shell
>
> It was started properly. However, when I typed the command, status, as
> follows.
>
>    hbase(main):001:0> status
>
> It got the following exception. Since I had very limited experiences to
> use HBase, I could not figure out what the problem was.
>
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/opt/hbase-0.92.0/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/opt/hadoop-1.0.0/lib/slf4j-log4j12-1.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> 12/02/13 04:34:01 ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists
> failed after 3 retries
> 12/02/13 04:34:01 WARN zookeeper.ZKUtil: hconnection Unable to set watcher
> on znode /hbase/master
> org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss for /hbase/master
>         at
> org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
>         at
> org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>         at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1003)
>         at
> org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:154)
>         at
> org.apache.hadoop.hbase.zookeeper.ZKUtil.watchAndCheckExists(ZKUtil.java:226)
>         at
> org.apache.hadoop.hbase.zookeeper.ZooKeeperNodeTracker.start(ZooKeeperNodeTracker.java:76)
>         at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.setupZookeeperTrackers(HConnectionManager.java:580)
>         at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.<init>(HConnectionManager.java:569)
>         at
> org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:186)
>         at
> org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:98)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at
> org.jruby.javasupport.JavaConstructor.newInstanceDirect(JavaConstructor.java:275)
>         at
> org.jruby.java.invokers.ConstructorInvoker.call(ConstructorInvoker.java:91)
>         at
> org.jruby.java.invokers.ConstructorInvoker.call(ConstructorInvoker.java:178)
>         at
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322)
>         at
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:178)
>         at
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:182)
>         at
> org.jruby.java.proxies.ConcreteJavaProxy$2.call(ConcreteJavaProxy.java:47)
>         at
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322)
>
> Could you please give me a hand? Thanks so much!
>
> Best regards,
> Bing
>
>
>