You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Avinash Lakshman <av...@gmail.com> on 2010/07/14 20:41:46 UTC
What does this exception mean?
Hi All
I run into this periodically. I am curious to know what this means, why
would this happen and how am I to react to it programmatically.
org.apache.thrift.TException:
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /Config/Stats/count
at com.abc.service.MyService.handleAll(MyService.java:223)
at com.abc.service.MyService.assign(AtlasService.java:344)
at com.abc.service.MyService.assign(AtlasService.java:364)
at com.abc.service.MyService.assignAll(AtlasService.java:385)
Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /Config/Stats/count
at
org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
at
org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:518)
Please advice.
Thanks
Avinash
Re: What does this exception mean?
Posted by Benjamin Reed <br...@yahoo-inc.com>.
that means that your connection to zookeeper has broken. usually because
the server you were connected to failed.
see http://wiki.apache.org/hadoop/ZooKeeper/ErrorHandling
ben
On 07/14/2010 11:41 AM, Avinash Lakshman wrote:
> Hi All
>
> I run into this periodically. I am curious to know what this means, why
> would this happen and how am I to react to it programmatically.
>
> org.apache.thrift.TException:
> org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss for /Config/Stats/count
> at com.abc.service.MyService.handleAll(MyService.java:223)
> at com.abc.service.MyService.assign(AtlasService.java:344)
> at com.abc.service.MyService.assign(AtlasService.java:364)
> at com.abc.service.MyService.assignAll(AtlasService.java:385)
>
> Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss for /Config/Stats/count
> at
> org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
> at
> org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
> at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:518)
>
> Please advice.
>
> Thanks
> Avinash
>