Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # user - 3.3.2 -> 3.4.0 NodeExistsException when reading snapshot


Copy link to this message
-
Re: 3.3.2 -> 3.4.0 NodeExistsException when reading snapshot
Mahadev Konar 2011-12-07, 18:19
Stefan,
 It mostly looks like
https://issues.apache.org/jira/browse/ZOOKEEPER-1319, but just to
confirm can you do this -

do a get on the same znode "/seq/y77mmizznsmdggqzx493-0030010980" on
each of the servers. You can just use the zkCli.sh to do that:

zkClish.sh -server hostname1 port1
get  /seq/y77mmizznsmdggqzx493-0030010980

similar for other hosts and post the results?

thanks
mahadev

On Wed, Dec 7, 2011 at 8:07 AM, Stefan Zier <[EMAIL PROTECTED]> wrote:
> Just upgraded one of our ensembles and am now hitting this exception. Any ideas how to recover?
>
> 2011-12-07 07:24:21,983 [myid:1] - WARN  [main:DataTree@909] - Failed: Create transaction for /seq/y77mmizznsmdggqzx493-0030010980
> org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode = NodeExists
>        at org.apache.zookeeper.server.DataTree.createNode(DataTree.java:483)
>        at org.apache.zookeeper.server.DataTree.processTxn(DataTree.java:799)
>        at org.apache.zookeeper.server.persistence.FileTxnSnapLog.processTransaction(FileTxnSnapLog.java:197)
>        at org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:150)
>        at org.apache.zookeeper.server.ZKDatabase.loadDataBase(ZKDatabase.java:223)
>        at org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:418)
>        at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:410)
>        at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:151)
>        at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:111)
>        at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)
>
> Stefan Zier
>
>
>