hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liu Xianglong" <sallonch...@hotmail.com>
Subject Re: HMaster process is killed when connected
Date Sun, 22 Nov 2009 05:32:23 GMT
The test seems to run well, but when I run my program which run well before 
the test, I found it failed and HMaster process disappeared. The error logs 
list as follows:

java.io.IOException: org.apache.zookeeper.KeeperException$NoNodeException: 
Keepe
rErrorCode = NoNode for /hbase/master
        at 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow
(ZooKeeperWrapper.java:332)
        at 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddress(ZooKee
perWrapper.java:318)
        at 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readMasterAddress(
ZooKeeperWrapper.java:250)
        at 
org.apache.hadoop.hbase.master.ZKMasterAddressWatcher.waitForMasterAd
dressAvailability(ZKMasterAddressWatcher.java:82)
        at 
org.apache.hadoop.hbase.master.HMaster.writeAddressToZooKeeper(HMaste
r.java:267)
        at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:254)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1218)
        at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1259)
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: 
KeeperErrorCode
 = NoNode for /hbase/master
        at 
org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
        at 
org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
        at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:892)
        at 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow
(ZooKeeperWrapper.java:328)
        ... 11 more
java.io.IOException: org.apache.zookeeper.KeeperException$NoNodeException: 
Keepe
rErrorCode = NoNode for /hbase/root-region-server
        at 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow
(ZooKeeperWrapper.java:332)
        at 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddress(ZooKee
perWrapper.java:318)
        at 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readRootRegionLoca
tion(ZooKeeperWrapper.java:231)
        at 
org.apache.hadoop.hbase.master.HMaster.verifyClusterState(HMaster.jav
a:545)
        at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:414)
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: 
KeeperErrorCode
 = NoNode for /hbase/root-region-server
        at 
org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
        at 
org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
        at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:892)
        at 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow
(ZooKeeperWrapper.java:328)
        ... 4 more
2009-11-21 22:45:46.047::INFO:  Logging to STDERR via 
org.mortbay.log.StdErrLog
2009-11-21 22:45:46.209::INFO:  jetty-6.1.14
2009-11-21 22:45:47.052::INFO:  Started SelectChannelConnector@0.0.0.0:60010
[audr@node0 logs]$ more hbase-audr-master-node0.out
java.io.IOException: org.apache.zookeeper.KeeperException$NoNodeException: 
Keepe
rErrorCode = NoNode for /hbase/master
        at 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow
(ZooKeeperWrapper.java:332)
        at 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddress(ZooKee
perWrapper.java:318)
        at 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readMasterAddress(
ZooKeeperWrapper.java:250)
        at 
org.apache.hadoop.hbase.master.ZKMasterAddressWatcher.waitForMasterAd
dressAvailability(ZKMasterAddressWatcher.java:82)
        at 
org.apache.hadoop.hbase.master.HMaster.writeAddressToZooKeeper(HMaste
r.java:267)
        at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:254)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1218)
        at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1259)
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: 
KeeperErrorCode
 = NoNode for /hbase/master
        at 
org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
        at 
org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
        at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:892)
        at 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow
(ZooKeeperWrapper.java:328)
        ... 11 more
java.io.IOException: org.apache.zookeeper.KeeperException$NoNodeException: 
Keepe
rErrorCode = NoNode for /hbase/root-region-server
        at 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow
(ZooKeeperWrapper.java:332)
        at 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddress(ZooKee
perWrapper.java:318)
        at 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readRootRegionLoca
tion(ZooKeeperWrapper.java:231)
        at 
org.apache.hadoop.hbase.master.HMaster.verifyClusterState(HMaster.jav
a:545)
        at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:414)
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: 
KeeperErrorCode
 = NoNode for /hbase/root-region-server
        at 
org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
        at 
org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
        at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:892)
        at 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow
(ZooKeeperWrapper.java:328)
        ... 4 more
2009-11-21 22:45:46.047::INFO:  Logging to STDERR via 
org.mortbay.log.StdErrLog
2009-11-21 22:45:46.209::INFO:  jetty-6.1.14
2009-11-21 22:45:47.052::INFO:  Started SelectChannelConnector@0.0.0.0:60010


--------------------------------------------------
From: "stack" <stack@duboce.net>
Sent: Sunday, November 22, 2009 12:39 PM
To: <hbase-user@hadoop.apache.org>
Subject: Re: HMaster process is killed when connected

> 2009/11/21 Liu Xianglong <sallonchina@hotmail.com>
>
>> Hi, everyone. I run hadoop test: "ant test" and then my hbase cluster 
>> seems
>> to encounter some problems.
>>
>
>
>> When I start HBase shell and get the error: hirb.rb:31:in `require': IO
>> error -- HBase (LoadError) from home/hadoop/hbase/bin/hirb.rb:31. Then I
>> found HMaster process is disappeared. Can someone explain what this 
>> problem
>> is.
>>
>>
>
> Are you saying that tests fail?  Or are you saying that when you have a
> running hbase instance and you run beside it 'ant test', it fails?
>
> Whats it say in the master logs?
> St.Ack
> 

Mime
View raw message