You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "David Medinets (JIRA)" <ji...@apache.org> on 2012/06/13 23:49:42 UTC

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

David Medinets created ACCUMULO-635:
---------------------------------------

             Summary: 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
            Reporter: David Medinets
            Assignee: David Medinets
            Priority: Minor


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

        

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

Posted by "David Medinets (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Medinets updated ACCUMULO-635:
------------------------------------

    Affects Version/s: 1.5.0-SNAPSHOT
        Fix Version/s: 1.5.0
    
> 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

        

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

Posted by "David Medinets (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACCUMULO-635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421102#comment-13421102 ] 

David Medinets commented on ACCUMULO-635:
-----------------------------------------

Keith, did you get a chance to update the upgrading code?
                
> 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

        

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

Posted by "David Medinets (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACCUMULO-635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294676#comment-13294676 ] 

David Medinets commented on ACCUMULO-635:
-----------------------------------------

This is the original code:

{code}
  ZooReaderWriter.getInstance().getChildren(zroot + Constants.ZRECOVERY, new Watcher() {
    @Override
    public void process(WatchedEvent event) {
      nextEvent.event("Noticed recovery changes", event.getType());
    }
  });
{code}
                
> 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
>            Reporter: David Medinets
>            Assignee: David Medinets
>            Priority: Minor
>
> 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

        

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

Posted by "Keith Turner (JIRA)" <ji...@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