You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michi Mutsuzaki (JIRA)" <ji...@apache.org> on 2014/04/24 00:30:19 UTC

[jira] [Updated] (ZOOKEEPER-680) Including quorum config when standalone leads to crash

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michi Mutsuzaki updated ZOOKEEPER-680:
--------------------------------------

    Fix Version/s:     (was: 3.5.0)
                   3.6.0

> Including quorum config when standalone leads to crash
> ------------------------------------------------------
>
>                 Key: ZOOKEEPER-680
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-680
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.2.2
>         Environment: RHEL
>            Reporter: Vegard B. Havdal
>            Assignee: Patrick Hunt
>            Priority: Minor
>             Fix For: 3.6.0
>
>
> Include server.#=... and/or a myid file when running standalone, zk server will crash with
> java.lang.NullPointerException
>    at org.apache.zookeeper.server.quorum.FastLeaderElection.totalOrderPredicate(FastLeaderElection.java:466)
>    at org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader(FastLeaderElection.java:635)
>    at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:515)
> Seen when running zk embedded in other server, using
> String[] args = new String[]{zookeeperCfgFile};
> org.apache.zookeeper.server.quorum.QuorumPeerMain.main(args);
> The workaround is of course to fix the config, but 3.1.1 managed to not crash on this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)