zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mazhar Shaikh <mazhar.shaikh...@gmail.com>
Subject zookeeper 3.4.6 listening on unknown random port
Date Wed, 31 Aug 2016 10:36:24 GMT
Hi All,

Im running a 3 zookeeper  process and noticed all 3 zookeeper process is
listening on one unknown random port.

Can someone please help me to understand why is this port used for ?

This port not handling any connections and all the 3 zookeeper has
different port number.

Node1 -> has 1 zookeeper (z1)
node2 -> has 2 zookeeper (z3 & z3)

server.1=z1.zookeeper.com:2888:3888
server.2=z2.zookeeper.com:2888:3888
server.3=z3.zookeeper.com:2889:3889

****************** Node1 - z1 *********************
Zookeeper version: 3.4.6-1569965, built on 02/20/2014 09:09 GMT
Clients:
 /192.168.2.116:53028[1](queued=0,recved=173,sent=173)
 /192.168.2.27:38375[1](queued=0,recved=175,sent=175)
 /192.168.2.28:42044[1](queued=0,recved=161,sent=161)
 /192.168.2.116:55142[0](queued=0,recved=1,sent=0)
 /192.168.2.216:50024[1](queued=0,recved=176,sent=176)

Latency min/avg/max: 0/149/14357
Received: 1765
Sent: 1753
Connections: 5
Outstanding: 0
Zxid: 0x1000016b8
Mode: follower
Node count: 216

****************** Node2 - z2 *********************
Zookeeper version: 3.4.6-1569965, built on 02/20/2014 09:09 GMT
Clients:
 /192.168.2.17:45103[1](queued=0,recved=195,sent=195)
 /192.168.2.18:38099[1](queued=0,recved=176,sent=176)
 /192.168.2.116:60666[0](queued=0,recved=1,sent=0)

Latency min/avg/max: 0/308/21523
Received: 9680
Sent: 9499
Connections: 3
Outstanding: 0
Zxid: 0x1000016b8
Mode: leader
Node count: 216

****************** Node2 - z3 *********************
Zookeeper version: 3.4.6-1569965, built on 02/20/2014 09:09 GMT
Clients:
 /192.168.2.116:47141[0](queued=0,recved=1,sent=0)

Latency min/avg/max: 0/0/0
Received: 13
Sent: 12
Connections: 1
Outstanding: 0
Zxid: 0x1000016b8
Mode: follower
Node count: 216

***************************************

z1 - ports
# netstat -anp | grep 15643 | grep LISTEN
tcp6       0      0 :::36895                :::*
LISTEN      15643/java
tcp6       0      0 :::2181                 :::*
LISTEN      15643/java
tcp6       0      0 169.254.2.116:3888      :::*
LISTEN      15643/java


z2 - ports
# netstat -anp | grep 21235 | grep LISTEN
tcp6       0      0 :::2181                 :::*
LISTEN      21235/java
tcp6       0      0 :::40037                :::*
LISTEN      21235/java
tcp6       0      0 169.254.2.216:2888      :::*
LISTEN      21235/java
tcp6       0      0 169.254.2.216:3888      :::*
LISTEN      21235/java

z3 - ports
 <Perf_VSEPx SYS_CTRLI1> root@sysctrl2:~# netstat -anp | grep 40497 | grep
LISTEN
tcp6       0      0 :::2182                 :::*
LISTEN      40497/java
tcp6       0      0 169.254.2.1:3889        :::*
LISTEN      40497/java
tcp6       0      0 :::42455                :::*
LISTEN      40497/java


Here "z1,z2,z3" are listening on "36895, 40037 & 42455" port respectively
which has not been configured.

Thanks.

Regards,
Mazhar Shaikh.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message