hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: Does it necessarily to handle the "Zookeeper.ConnectionLossException" in ZKUtil.getDataAndWatch?
Date Thu, 14 Apr 2011 18:27:01 GMT
I guess we should, there's
https://issues.apache.org/jira/browse/HBASE-3065 that's open, but in
your case like I mentioned in your other email there seems to be
something weird in your environment.

J-D

On Thu, Apr 14, 2011 at 12:51 AM, bijieshan <bijieshan@huawei.com> wrote:
> Hi,
> The "KeeperException$ConnectionLossException" exception occurred while the cluster is
running, as we know, it's a Zookeeper "recoverable" exception(And this exception has been
handled in the method of ZooKeeperWatcher.ZooKeeperWatcher),and the suggestion is that we
should retry a while. Does it necessarily?
>
> Here is the exception logs:
>
> 2011-03-21 13:26:53,135 WARN org.apache.hadoop.hbase.zookeeper.ZKUtil: master:60000-0x22e8e6ee15f0046
Unable to get data of znode /hbase/unassigned/59ba25120921011b7d9ed4025d30c105
> org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss
for /hbase/unassigned/59ba25120921011b7d9ed4025d30c105
>         at org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
>         at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
>         at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:932)
>         at org.apache.hadoop.hbase.zookeeper.ZKUtil.getDataAndWatch(ZKUtil.java:549)
>         at org.apache.hadoop.hbase.zookeeper.ZKAssign.getData(ZKAssign.java:739)
>         at org.apache.hadoop.hbase.master.AssignmentManager.nodeDataChanged(AssignmentManager.java:525)
>         at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.process(ZooKeeperWatcher.java:268)
>         at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:501)
> 2011-03-21 13:26:53,137 ERROR org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher: master:60000-0x22e8e6ee15f0046
Received unexpected KeeperException, re-throwing exception
> org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss
for /hbase/unassigned/59ba25120921011b7d9ed4025d30c105
>         at org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
>         at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
>         at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:932)
>         at org.apache.hadoop.hbase.zookeeper.ZKUtil.getDataAndWatch(ZKUtil.java:549)
>         at org.apache.hadoop.hbase.zookeeper.ZKAssign.getData(ZKAssign.java:739)
>         at org.apache.hadoop.hbase.master.AssignmentManager.nodeDataChanged(AssignmentManager.java:525)
>         at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.process(ZooKeeperWatcher.java:268)
>         at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:501)
>
> Expecting for the reply!
> Thank you.
>
> Regards,
> Jeason Bean
>
>

Mime
View raw message