[jira] [Commented] (ACCUMULO-635) Check Existence of Zookeeper Recovery Node Before Reading It.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (ACCUMULO-635) Check Existence of Zookeeper Recovery Node Before Reading It.

JIRA jira@apache.org

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

Keith Turner commented on ACCUMULO-635:
---------------------------------------

I made a change to create the node in zookeeper when init is run.  I still need to create the node when upgrading from 1.4 to 1.5
               

> Check Existence of Zookeeper Recovery Node Before Reading It.
> -------------------------------------------------------------
>
>                 Key: ACCUMULO-635
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-635
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.5.0-SNAPSHOT
>            Reporter: David Medinets
>            Assignee: David Medinets
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> I don't know why but my errors have started to display the following message. I tracked down the source. Basically the Zookeeper node is being read without first making sure that it exists.
> {code}
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode
>  = NoNode for /accumulo/b519799c-3a51-4c9b-af21-96d577e2c11f/recovery
>         at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
>         at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>         at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1448)
>         at org.apache.accumulo.core.zookeeper.ZooReader.getChildren(ZooReader.java:62)
>         at org.apache.accumulo.server.master.Master.run(Master.java:2071)
>         at org.apache.accumulo.server.master.Master.main(Master.java:2173)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira