You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/10/31 03:57:33 UTC

[jira] [Commented] (ACCUMULO-3279) BackupMasterIT failed with BadVersion ZK Exception

    [ https://issues.apache.org/jira/browse/ACCUMULO-3279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14191231#comment-14191231 ] 

Josh Elser commented on ACCUMULO-3279:
--------------------------------------

Looks like this isn't related to the changes -- the old code was subject to the same possibility. One curious thing: the version number passed into the function is ignored and the version on the Stat from the exists call is used instead. I see two things we could do:

1. Remove the version argument, catch the BadVersion exception and retry
2. Use the version argument and keep throwing the BadVersion exception

My gut reaction is that #1 would have been intended. [~ecn] or [~kturner], any chance for verification?


> BackupMasterIT failed with BadVersion ZK Exception
> --------------------------------------------------
>
>                 Key: ACCUMULO-3279
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3279
>             Project: Accumulo
>          Issue Type: Bug
>          Components: master
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 1.6.2, 1.7.0
>
>
> Saw this one after I did some work on our ZK code. Need to investigate the failure and make sure I didn't screw anything up.
> {noformat}
> E AssertionError: KeeperErrorCode = BadVersion for /accumulo/02b584de-03df-463d-8c86-947297d609b2/masters/lock/zlock-0000000000
> E org.apache.zookeeper.KeeperException$BadVersionException: KeeperErrorCode = BadVersion for /accumulo/02b584de-03df-463d-8c86-947297d609b2/masters/lock/zlock-0000000000
> E at org.apache.zookeeper.KeeperException.create(KeeperException.java:115)
> E at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
> E at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:873)
> E at org.apache.accumulo.fate.zookeeper.ZooUtil.recursiveDelete(ZooUtil.java:226)
> E at org.apache.accumulo.fate.zookeeper.ZooUtil.recursiveDelete(ZooUtil.java:256)
> E at org.apache.accumulo.fate.zookeeper.ZooReaderWriter.recursiveDelete(ZooReaderWriter.java:62)
> E at org.apache.accumulo.test.functional.BackupMasterIT.test(BackupMasterIT.java:60)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)