Andor, Il giorno mar 6 giu 2023 alle ore 14:59 Andor Molnar <[email protected]> ha scritto: > > Hi folks, > > I cannot find an answer for this which annoys the hell out of me. > Please help to understand why ZooKeeper is binding a local ephemeral > port right after start without any quorum or client socket opened. This > is what I see when start a 3.4 or 3.5 server is standalone mode. (Same > behaviour is observed with quorum too) > > $ bin/zkServer.sh start-foreground > ZooKeeper JMX enabled by default > Using config: /home/andor/git/my-zookeeper/bin/../conf/zoo.cfg > 2023-06-06 14:56:48,378 [myid:] - INFO [main:QuorumPeerConfig@154] - > Reading configuration from: /home/andor/git/my- > zookeeper/bin/../conf/zoo.cfg > ... > 2023-06-06 14:56:48,648 [myid:] - INFO [main:NIOServerCnxnFactory@689] > - binding to port 0.0.0.0/0.0.0.0:2181 > > ZooKeeper is running with PID 57126. Admin server is disabled. > > $ sudo netstat -plnt | grep 57126 > tcp6 0 0 > :::2181 :::* LISTEN 57126/java > tcp6 0 0 > :::45669 :::* LISTEN 57126/java > > What is the second line??
It should be JMX Enrico > > Thanks, > Andor > > >
