Re: ZK not starting during upgrade to use 3.6.1 with SSL communication

2020-05-01 Thread blb.dev
I also notice that in the /conf/zoo.cfg file the servers are being added out
of order, but the /data/myid files are all correct server id. 

For example, it's showing as: 
server.2=:2888:3888:participant
server.3=:2888:3888:participant
server.1=:2888:3888:participant

But I would expect it to be: 
server.1=:2888:3888:participant
server.2=:2888:3888:participant
server.3=:2888:3888:participant

Is that an indication of an underlying issue? 



--
Sent from: http://zookeeper-user.578899.n2.nabble.com/


[ANNOUNCE] Apache ZooKeeper 3.6.1

2020-05-01 Thread Enrico Olivelli
The Apache ZooKeeper team is proud to announce Apache ZooKeeper version
3.6.1

ZooKeeper is a high-performance coordination service for distributed
applications. It exposes common services - such as naming,
configuration management, synchronization, and group services - in a
simple interface so you don't have to write them from scratch. You can
use it off-the-shelf to implement consensus, group management, leader
election, and presence protocols. And you can build on it for your
own, specific needs.

For ZooKeeper release details and downloads, visit:
https://zookeeper.apache.org/releases.html

ZooKeeper 3.6.1 Release Notes are at:
https://zookeeper.apache.org/doc/r3.6.1/releasenotes.html

We would like to thank the contributors that made the release possible.

Regards,

The ZooKeeper Team


ZK not starting during upgrade to use 3.6.1 with SSL communication

2020-05-01 Thread blb.dev
Hi, during testing upgrade to 3.6.1 version and using secure quorum ssl
communication my zookeeper is not starting up. 

*config file:*
dataDir=/data
dataLogDir=/datalog
tickTime=2000
initLimit=10
syncLimit=5
maxClientCnxns=0
autopurge.snapRetainCount=10
autopurge.purgeInterval=24
admin.enableServer=false
snapshot.trust.empty=true
reconfigEnabled=true
audit.enable=true
clientPort=2181
secureClientPort=2281
sslQuorum=true
portUnification=true
serverCnxnFactory=org.apache.zookeeper.server.NettyServerCnxnFactory
client.portUnification=true
clientCnxnSocket=org.apache.zookeeper.ClientCnxnSocketNetty
ssl.client.enable=true
clientCnxnSocket=org.apache.zookeeper.ClientCnxnSocketNetty
ssl.quorum.keyStore.location=/apache-zookeeper-3.6.1-bin/java/node1.ks
ssl.quorum.keyStore.password=
ssl.quorum.trustStore.location=/apache-zookeeper-3.6.1-bin/java/truststore.ks
ssl.quorum.trustStore.password=
4lw.commands.whitelist=*
quorumListenOnAllIPs=true
server.2=:2888:3888:participant
server.3=:2888:3888:participant
server.1=:2888:3888:participant

*# bin/zkServer.sh status*
/usr/bin/java
ZooKeeper JMX enabled by default
Using config: /conf/zoo.cfg
Client port found: 2181. Client address: localhost.
Error contacting service. It is probably not running.

*# cat /logs/zookeeper_audit.log  *
2020-05-01 22:06:12,213 INFO audit.Log4jAuditLogger: user=zookeeper
operation=serverStart   result=success
2020-05-01 23:08:30,859 INFO audit.Log4jAuditLogger: user=zookeeper
operation=serverStart   result=success

*# bin/zkCli.sh -server 127.0.0.1:2181*
/usr/bin/java
Connecting to 127.0.0.1:2181
2020-05-01 23:19:20,035 [myid:] - INFO  [main:Environment@98] - Client
environment:zookeeper.version=3.6.1--104dcb3e3fb464b30c5186d229e00af9f332524b,
built on 04/21/2020 15:01 GMT
2020-05-01 23:19:20,039 [myid:] - INFO  [main:Environment@98] - Client
environment:host.name=zoo1
2020-05-01 23:19:20,039 [myid:] - INFO  [main:Environment@98] - Client
environment:java.version=1.8.0_252
2020-05-01 23:19:20,042 [myid:] - INFO  [main:Environment@98] - Client
environment:java.vendor=Oracle Corporation
2020-05-01 23:19:20,042 [myid:] - INFO  [main:Environment@98] - Client
environment:java.home=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.252.b09-2.el7_8.x86_64/jre
2020-05-01 23:19:20,042 [myid:] - INFO  [main:Environment@98] - Client