|
Bing Li
2012-02-12, 21:00
Jean-Daniel Cryans
2012-02-13, 23:27
Bing Li
2012-02-14, 08:35
Jean-Daniel Cryans
2012-02-14, 18:43
Doug Meil
2012-02-14, 18:57
Bing Li
2012-02-17, 07:03
Stack
2012-02-17, 15:10
Bing Li
2012-02-17, 15:18
Bing Li
2012-02-17, 16:12
|
-
ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retriesBing Li 2012-02-12, 21:00
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
-
Re: ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retriesJean-Daniel Cryans 2012-02-13, 23:27
Is zookeeper running properly? Is it where your shell expects it to
be? Can you access HBase's web ui on port 60010? J-D On Sun, Feb 12, 2012 at 1:00 PM, 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
-
Re: ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retriesBing Li 2012-02-14, 08:35
Dear Jean-Daniel,
The issue is solved. I think the book in the HBase the Definitive Guide does not give sufficient descriptions about the pseudo-distributed mode. Thanks so much! Bing On Tue, Feb 14, 2012 at 7:27 AM, Jean-Daniel Cryans <[EMAIL PROTECTED]>wrote: > Is zookeeper running properly? Is it where your shell expects it to > be? Can you access HBase's web ui on port 60010? > > J-D > > On Sun, Feb 12, 2012 at 1:00 PM, 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!
-
Re: ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retriesJean-Daniel Cryans 2012-02-14, 18:43
And what would be missing? It's all open source so this is the moment
where you can forever leave a trace in HBase :) J-D On Tue, Feb 14, 2012 at 12:35 AM, Bing Li <[EMAIL PROTECTED]> wrote: > Dear Jean-Daniel, > > The issue is solved. I think the book in the HBase the Definitive Guide > does not give sufficient descriptions about the pseudo-distributed mode. > > Thanks so much! > Bing > > On Tue, Feb 14, 2012 at 7:27 AM, Jean-Daniel Cryans <[EMAIL PROTECTED]>wrote: > >> Is zookeeper running properly? Is it where your shell expects it to >> be? Can you access HBase's web ui on port 60010? >> >> J-D >> >> On Sun, Feb 12, 2012 at 1:00 PM, 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)
-
Re: ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retriesDoug Meil 2012-02-14, 18:57
To stress what JD just said, the HBase book/Ref Guide (i.e., the online book that is a part of HBase) is open source and the best source of the material (especially the Troubleshooting chapter) is user experience. Minor clarification: "HBase the Definitive Guide" is a great book by O'Reilly, but not open source. On 2/14/12 1:43 PM, "Jean-Daniel Cryans" <[EMAIL PROTECTED]> wrote: >And what would be missing? It's all open source so this is the moment >where you can forever leave a trace in HBase :) > >J-D > >On Tue, Feb 14, 2012 at 12:35 AM, Bing Li <[EMAIL PROTECTED]> wrote: >> Dear Jean-Daniel, >> >> The issue is solved. I think the book in the HBase the Definitive Guide >> does not give sufficient descriptions about the pseudo-distributed mode. >> >> Thanks so much! >> Bing >> >> On Tue, Feb 14, 2012 at 7:27 AM, Jean-Daniel Cryans >><[EMAIL PROTECTED]>wrote: >> >>> Is zookeeper running properly? Is it where your shell expects it to >>> be? Can you access HBase's web ui on port 60010? >>> >>> J-D >>> >>> On Sun, Feb 12, 2012 at 1:00 PM, 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(Recoverabl >>>eZooKeeper.java:154) >>> > at >>> > >>> >>>org.apache.hadoop.hbase.zookeeper.ZKUtil.watchAndCheckExists(ZKUtil.java >>>:226) >>> > at >>> > >>> >>>org.apache.hadoop.hbase.zookeeper.ZooKeeperNodeTracker.start(ZooKeeperNo >>>deTracker.java:76) >>> > at >>> > >>> >>>org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementat >>>ion.setupZookeeperTrackers(HConnectionManager.java:580) >>> > at >>> > >>> >>>org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementat >>>ion.<init>(HConnectionManager.java:569) >>> > at >>> > >>> >>>org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnect >>>ionManager.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(NativeConstructorA >>>ccessorImpl.java:39) >>> > at >>> > >>> >>>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons >>>tructorAccessorImpl.java:27) >>> > at >>>java.lang.reflect.Constructor.newInstance(Constructor.java:513)
-
Re: ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retriesBing Li 2012-02-17, 07:03
Hi, J-D,
I just made summary about the experiences to set up a pseudo-distributed mode HBase. 1) RedHat 9 is not suitable for running HBase and Hadoop. I don't know the reasons. Now Ubuntu is my choice. 2) After the pseudo-distributed mode of HDFS is configured, it is required to configure the hbase-env.sh and hbase-site.xml. The book, HBase the Definitive Guide, does not mentions hbase.env.xml. 3) It should set up JAVA_HOME, HBASE_CLASSPATH and HBASE_MANAGES_ZK. My hbase-env.sh is as follows. export JAVA_HOME=/opt/jdk1.6.1/ export HBASE_CLASSPATH=/opt/hbase-0.92.0/conf export HBASE_OPTS="-XX:+UseConcMarkSweepGC" export HBASE_MANAGES_ZK=true 4) When configuring hbase-site.xml, the property, hbase.cluster.distributed, must be set also. The book, HBase the Definitive Guide, does not do that either. My hbase-site.xml is as follows. <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <configuration> <property> <name>hbase.rootdir</name> <value>hdfs://localhost:9000/hbase</value> </property> <property> <name>dfs.replication</name> <value>1</value> </property> <property> <name>hbase.cluster.distributed</name> <value>true</value> </property> </configuration> I am a new user of HBase. Your suggestions are highly appreciated. Best regards, Bing On Wed, Feb 15, 2012 at 2:43 AM, Jean-Daniel Cryans <[EMAIL PROTECTED]>wrote: > And what would be missing? It's all open source so this is the moment > where you can forever leave a trace in HBase :) > > J-D > > On Tue, Feb 14, 2012 at 12:35 AM, Bing Li <[EMAIL PROTECTED]> wrote: > > Dear Jean-Daniel, > > > > The issue is solved. I think the book in the HBase the Definitive Guide > > does not give sufficient descriptions about the pseudo-distributed mode. > > > > Thanks so much! > > Bing > > > > On Tue, Feb 14, 2012 at 7:27 AM, Jean-Daniel Cryans <[EMAIL PROTECTED] > >wrote: > > > >> Is zookeeper running properly? Is it where your shell expects it to > >> be? Can you access HBase's web ui on port 60010? > >> > >> J-D > >> > >> On Sun, Feb 12, 2012 at 1:00 PM, 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)
-
Re: ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retriesStack 2012-02-17, 15:10
On Thu, Feb 16, 2012 at 11:03 PM, Bing Li <[EMAIL PROTECTED]> wrote:
> I just made summary about the experiences to set up a pseudo-distributed > mode HBase. > Thank you for the writeup. What would you have us change in here: http://hbase.apache.org/book/quickstart.html? Thanks, St.Ack
-
Re: ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retriesBing Li 2012-02-17, 15:18
Stack,
The link just describes a standalone mode for HBase. If possible, I think a pseudo-distributed mode is also preferred. Thanks, Bing On Fri, Feb 17, 2012 at 11:10 PM, Stack <[EMAIL PROTECTED]> wrote: > On Thu, Feb 16, 2012 at 11:03 PM, Bing Li <[EMAIL PROTECTED]> wrote: > > I just made summary about the experiences to set up a pseudo-distributed > > mode HBase. > > > > Thank you for the writeup. What would you have us change in here: > http://hbase.apache.org/book/quickstart.html? > > Thanks, > St.Ack >
-
Re: ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retriesBing Li 2012-02-17, 16:12
Yes, I noticed that. But it missed something I mentioned in my previous
email. Thanks, Bing On Sat, Feb 18, 2012 at 12:11 AM, Stack <[EMAIL PROTECTED]> wrote: > The next page is on pseudo-distributed: > http://hbase.apache.org/book/standalone_dist.html#distributed > > St.Ack > > On Fri, Feb 17, 2012 at 7:18 AM, Bing Li <[EMAIL PROTECTED]> wrote: > > Stack, > > > > The link just describes a standalone mode for HBase. If possible, I > think a > > pseudo-distributed mode is also preferred. > > > > Thanks, > > Bing > > > > > > On Fri, Feb 17, 2012 at 11:10 PM, Stack <[EMAIL PROTECTED]> wrote: > >> > >> On Thu, Feb 16, 2012 at 11:03 PM, Bing Li <[EMAIL PROTECTED]> wrote: > >> > I just made summary about the experiences to set up a > pseudo-distributed > >> > mode HBase. > >> > > >> > >> Thank you for the writeup. What would you have us change in here: > >> http://hbase.apache.org/book/quickstart.html? > >> > >> Thanks, > >> St.Ack > > > > > |