You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Dan Bikle <we...@gmail.com> on 2015/02/09 22:14:27 UTC

Newb sees exception in logs after fresh install

*hello hbase ppl,today I am installing prediction.io
<http://prediction.io>It uses hbase.I did this:cd Downloads/wget
http://archive.apache.org/dist/hbase/hbase-0.98.6/hbase-0.98.6-hadoop2-bin.tar.gz
<http://archive.apache.org/dist/hbase/hbase-0.98.6/hbase-0.98.6-hadoop2-bin.tar.gz>tar
zxf hbase-0.98.6-hadoop2-bin.tar.gzmv hbase-0.98.6-hadoop2 /home/dan/cd
/home/dan/ln -s hbase-0.98.6-hadoop2 hbasecd hbasevi
hbase/conf/hbase-site.xml<configuration>  <property>
<name>hbase.rootdir</name>    <value>file:///home/dan/hbase</value>
</property>  <property>    <name>hbase.zookeeper.property.dataDir</name>
<value>/home/dan/zookeeper</value>
</property></configuration>bin/start-hbase.shI looked at logs:dan@hp
~/hbase $ dan@hp ~/hbase $ tail logs/hbase-dan-master-hp.log 2015-02-09
20:55:57,544 DEBUG [main-EventThread] hbase.ZKNamespaceManager: Updating
namespace cache from node default with data: \x0A\x07default2015-02-09
20:55:57,588 DEBUG [main-EventThread] hbase.ZKNamespaceManager: Updating
namespace cache from node default with data: \x0A\x07default2015-02-09
20:55:57,589 DEBUG [main-EventThread] hbase.ZKNamespaceManager: Updating
namespace cache from node hbase with data: \x0A\x05hbase2015-02-09
20:55:57,606 INFO  [ProcessThread(sid:0 cport:-1):]
server.PrepRequestProcessor: Got user-level KeeperException when processing
sessionid:0x14b70205dde0000 type:create cxid:0x93 zxid:0x3b txntype:-1
reqpath:n/a Error Path:/hbase/namespace/default Error:KeeperErrorCode =
NodeExists for /hbase/namespace/default2015-02-09 20:55:57,618 INFO
 [M:0;hp:38689] zookeeper.RecoverableZooKeeper: Node
/hbase/namespace/default already exists and this is not a retry2015-02-09
20:55:57,632 INFO  [ProcessThread(sid:0 cport:-1):]
server.PrepRequestProcessor: Got user-level KeeperException when processing
sessionid:0x14b70205dde0000 type:create cxid:0x96 zxid:0x3d txntype:-1
reqpath:n/a Error Path:/hbase/namespace/hbase Error:KeeperErrorCode =
NodeExists for /hbase/namespace/hbase2015-02-09 20:55:57,640 INFO
 [M:0;hp:38689] zookeeper.RecoverableZooKeeper: Node /hbase/namespace/hbase
already exists and this is not a retry2015-02-09 20:55:57,652 INFO
 [M:0;hp:38689] master.HMaster: Master has completed
initialization2015-02-09 21:00:47,528 DEBUG [LruStats #0]
hfile.LruBlockCache: Total=407.29 KB, free=386.30 MB, max=386.70 MB,
blocks=405484352, accesses=0, hits=0, hitRatio=0, cachingAccesses=0,
cachingHits=0, cachingHitsRatio=0,evictions=29, evicted=0,
evictedPerRun=0.02015-02-09 21:00:56,808 DEBUG
[hp,38689,1423515345937-BalancerChore] balancer.BaseLoadBalancer: Not
running balancer because only 1 active regionserver(s)dan@hp ~/hbase $
Questions:Does the above KeeperException indicate a problem?How do I wipe
my laptop clean of hbase and zookeeper?*

Re: Newb sees exception in logs after fresh install

Posted by Ted Yu <yu...@gmail.com>.
The KeeperException was logged at INFO level.

You can issue 'hbase zkcli' command to enter zookeeper shell.
Then use 'rmr <path>' to remove unwanted path.

Cheers

On Mon, Feb 9, 2015 at 1:14 PM, Dan Bikle <we...@gmail.com> wrote:

> *hello hbase ppl,today I am installing prediction.io
> <http://prediction.io>It uses hbase.I did this:cd Downloads/wget
>
> http://archive.apache.org/dist/hbase/hbase-0.98.6/hbase-0.98.6-hadoop2-bin.tar.gz
> <
> http://archive.apache.org/dist/hbase/hbase-0.98.6/hbase-0.98.6-hadoop2-bin.tar.gz
> >tar
> zxf hbase-0.98.6-hadoop2-bin.tar.gzmv hbase-0.98.6-hadoop2 /home/dan/cd
> /home/dan/ln -s hbase-0.98.6-hadoop2 hbasecd hbasevi
> hbase/conf/hbase-site.xml<configuration>  <property>
> <name>hbase.rootdir</name>    <value>file:///home/dan/hbase</value>
> </property>  <property>    <name>hbase.zookeeper.property.dataDir</name>
> <value>/home/dan/zookeeper</value>
> </property></configuration>bin/start-hbase.shI looked at logs:dan@hp
> ~/hbase $ dan@hp ~/hbase $ tail logs/hbase-dan-master-hp.log 2015-02-09
> 20:55:57,544 DEBUG [main-EventThread] hbase.ZKNamespaceManager: Updating
> namespace cache from node default with data: \x0A\x07default2015-02-09
> 20:55:57,588 DEBUG [main-EventThread] hbase.ZKNamespaceManager: Updating
> namespace cache from node default with data: \x0A\x07default2015-02-09
> 20:55:57,589 DEBUG [main-EventThread] hbase.ZKNamespaceManager: Updating
> namespace cache from node hbase with data: \x0A\x05hbase2015-02-09
> 20:55:57,606 INFO  [ProcessThread(sid:0 cport:-1):]
> server.PrepRequestProcessor: Got user-level KeeperException when processing
> sessionid:0x14b70205dde0000 type:create cxid:0x93 zxid:0x3b txntype:-1
> reqpath:n/a Error Path:/hbase/namespace/default Error:KeeperErrorCode =
> NodeExists for /hbase/namespace/default2015-02-09 20:55:57,618 INFO
>  [M:0;hp:38689] zookeeper.RecoverableZooKeeper: Node
> /hbase/namespace/default already exists and this is not a retry2015-02-09
> 20:55:57,632 INFO  [ProcessThread(sid:0 cport:-1):]
> server.PrepRequestProcessor: Got user-level KeeperException when processing
> sessionid:0x14b70205dde0000 type:create cxid:0x96 zxid:0x3d txntype:-1
> reqpath:n/a Error Path:/hbase/namespace/hbase Error:KeeperErrorCode =
> NodeExists for /hbase/namespace/hbase2015-02-09 20:55:57,640 INFO
>  [M:0;hp:38689] zookeeper.RecoverableZooKeeper: Node /hbase/namespace/hbase
> already exists and this is not a retry2015-02-09 20:55:57,652 INFO
>  [M:0;hp:38689] master.HMaster: Master has completed
> initialization2015-02-09 21:00:47,528 DEBUG [LruStats #0]
> hfile.LruBlockCache: Total=407.29 KB, free=386.30 MB, max=386.70 MB,
> blocks=405484352, accesses=0, hits=0, hitRatio=0, cachingAccesses=0,
> cachingHits=0, cachingHitsRatio=0,evictions=29, evicted=0,
> evictedPerRun=0.02015-02-09 21:00:56,808 DEBUG
> [hp,38689,1423515345937-BalancerChore] balancer.BaseLoadBalancer: Not
> running balancer because only 1 active regionserver(s)dan@hp ~/hbase $
> Questions:Does the above KeeperException indicate a problem?How do I wipe
> my laptop clean of hbase and zookeeper?*
>

Re: Newb sees exception in logs after fresh install

Posted by Andrew Purtell <ap...@apache.org>.
> 2015-02-09 20:55:57,640 INFO [M:0;hp:38689] zookeeper.RecoverableZooKeeper:
Node /hbase/namespace/hbase already exists and this is not a retry
> [...]
>
​
Questions:Does the above KeeperException indicate a problem?
> How do I wipe my laptop clean of hbase and zookeeper?

No, that is not an error. It's some informational logging that arguably can
be useful for debugging problems but we should probably be emitting this at
DEBUG level. You can ignore it.

In general, messages you should be concerned about are logged at WARN,
ERROR, or FATAL log levels.



​​
On Mon, Feb 9, 2015 at 1:14 PM,
​​
D
​​
an Bikle <we...@gmail.com> wrote:

> *hello hbase ppl,today I am installing prediction.io
> <http://prediction.io>It uses hbase.I did this:cd Downloads/wget
>
> http://archive.apache.org/dist/hbase/hbase-0.98.6/hbase-0.98.6-hadoop2-bin.tar.gz
> <
> http://archive.apache.org/dist/hbase/hbase-0.98.6/hbase-0.98.6-hadoop2-bin.tar.gz
> >tar
> zxf hbase-0.98.6-hadoop2-bin.tar.gzmv hbase-0.98.6-hadoop2 /home/dan/cd
> /home/dan/ln -s hbase-0.98.6-hadoop2 hbasecd hbasevi
> hbase/conf/hbase-site.xml<configuration>  <property>
> <name>hbase.rootdir</name>    <value>file:///home/dan/hbase</value>
> </property>  <property>    <name>hbase.zookeeper.property.dataDir</name>
> <value>/home/dan/zookeeper</value>
> </property></configuration>bin/start-hbase.shI looked at logs:dan@hp
> ~/hbase $ dan@hp ~/hbase $ tail logs/hbase-dan-master-hp.log 2015-02-09
> 20:55:57,544 DEBUG [main-EventThread] hbase.ZKNamespaceManager: Updating
> namespace cache from node default with data: \x0A\x07default2015-02-09
> 20:55:57,588 DEBUG [main-EventThread] hbase.ZKNamespaceManager: Updating
> namespace cache from node default with data: \x0A\x07default2015-02-09
> 20:55:57,589 DEBUG [main-EventThread] hbase.ZKNamespaceManager: Updating
> namespace cache from node hbase with data: \x0A\x05hbase2015-02-09
> 20:55:57,606 INFO  [ProcessThread(sid:0 cport:-1):]
> server.PrepRequestProcessor: Got user-level KeeperException when processing
> sessionid:0x14b70205dde0000 type:create cxid:0x93 zxid:0x3b txntype:-1
> reqpath:n/a Error Path:/hbase/namespace/default Error:KeeperErrorCode =
> NodeExists for /hbase/namespace/default2015-02-09 20:55:57,618 INFO
>  [M:0;hp:38689] zookeeper.RecoverableZooKeeper: Node
> /hbase/namespace/default already exists and this is not a retry2015-02-09
> 20:55:57,632 INFO  [ProcessThread(sid:0 cport:-1):]
> server.PrepRequestProcessor: Got user-level KeeperException when processing
> sessionid:0x14b70205dde0000 type:create cxid:0x96 zxid:0x3d txntype:-1
> reqpath:n/a Error Path:/hbase/namespace/hbase Error:KeeperErrorCode =
> NodeExists for /hbase/namespace/hbase2015-02-09 20:55:57,640 INFO
>  [M:0;hp:38689] zookeeper.RecoverableZooKeeper: Node /hbase/namespace/hbase
> already exists and this is not a retry2015-02-09 20:55:57,652 INFO
>  [M:0;hp:38689] master.HMaster: Master has completed
> initialization2015-02-09 21:00:47,528 DEBUG [LruStats #0]
> hfile.LruBlockCache: Total=407.29 KB, free=386.30 MB, max=386.70 MB,
> blocks=405484352, accesses=0, hits=0, hitRatio=0, cachingAccesses=0,
> cachingHits=0, cachingHitsRatio=0,evictions=29, evicted=0,
> evictedPerRun=0.02015-02-09 21:00:56,808 DEBUG
> [hp,38689,1423515345937-BalancerChore] balancer.BaseLoadBalancer: Not
> running balancer because only 1 active regionserver(s)dan@hp ~/hbase $
> ​​
> Questions:Does the above KeeperException indicate a problem?How do I wipe
> my laptop clean of hbase and zookeeper?*
>



-- 
Best regards,

   - Andy

Problems worthy of attack prove their worth by hitting back. - Piet Hein
(via Tom White)