[ https://issues.apache.org/jira/browse/ZOOKEEPER-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated ZOOKEEPER-680: ----------------------------------- Fix Version/s: (was: 3.3.0) 3.4.0 pushing to 3.4.0, not a blocker. > 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.4.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 is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.