ZooKeeper 3.4.9 fails to start with SSL setting

 
 
 
Posted by:venubwal
Data created:11 May 2017

Hi,

Please help me to configure ZK with SSL (keystrore,truststore are not problem as I berified them using for Kafka)
In order to support SSL on zookeeper, zk offers to configure secureClient port instead of client port
and some other configurations java parameters passed as per https://cwiki.apache.org/confluence/display/ZOOKEEPER/ZooKeeper+SSL+User+Guide
 
But, I am getting this error
 
 
2017-05-11 12:16:10,001 [myid:] - INFO  [main:QuorumPeerConfig@124] - Reading configuration from: C:\OpenText\ExperienceAnalyticsSSL3\ZooKeeper\bin\..\conf\zoo.cfg
2017-05-11 12:16:10,020 [myid:] - INFO  [main:QuorumPeer$QuorumServer@149] - Resolved hostname: 10.96.132.218 to address: /10.96.132.218
2017-05-11 12:16:10,021 [myid:] - ERROR [main:QuorumPeerMain@85] - Invalid config, exiting abnormally
org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing C:\OpenText\ExperienceAnalyticsSSL3\ZooKeeper\bin\..\conf\zoo.cfg
        at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:144)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:101)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)
Caused by: java.lang.IllegalArgumentException: clientPort is not set
        at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parseProperties(QuorumPeerConfig.java:270)
        at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:140)
        ... 2 more
Invalid config, exiting abnormally
 
Venu
8297004555

Hello, it looks like you got the wrong product forum. This is for Ephere Zookeeper, not Confluence ZooKeeper.

Marsel Khadiyev (Software Developer, EPHERE Inc.)