Could be the "leader election port" and "jmx server listening port"? /César.
http://zookeeper.apache.org/doc/r3.3.3/zookeeperAdmin.html#sc_advancedConfiguration > *server.x=[hostname]:nnnnn[:nnnnn], etc * > > *(No Java system property)* > > *servers making up the ZooKeeper ensemble. When the server starts up, it > determines which server it is by looking for the file myid in the data > directory. That file contains the server number, in ASCII, and it should > match x in server.x in the left hand side of this setting.* > > *The list of servers that make up ZooKeeper servers that is used by the > clients must match the list of ZooKeeper servers that each ZooKeeper server > has.* > > *There are two port numbers nnnnn. The first followers use to connect to > the leader, and the second is for leader election. The leader election port > is only necessary if electionAlg is 1, 2, or 3 (default). If electionAlg is > 0, then the second port is not necessary. If you want to test multiple > servers on a single machine, then different ports can be used for each > server.* > > On Thu, Oct 6, 2011 at 10:35 AM, Dima Gutzeit <[email protected]>wrote: > All the ports I listed in the original mail are used by zookeeper. > > 16929/java > > Regards , > > Dima Gutzeit. > > > > 2011/10/6 César Álvarez Núñez <[email protected]> > > > Just google "How to find which service is listening on a given port" and > > you > > will get the key to know if that ports are being used by a java process > or > > not. > > > > /César. > > > > On Wed, Oct 5, 2011 at 7:03 PM, Dima Gutzeit < > [email protected] > > >wrote: > > > > > 3.3.3 vanilla distribution, JDK 1.6.0_25, 64 bit. > > > Running on RedHat Enterprise 5.6, 64 bit. > > > > > > ZK is the only java process running on this machine and I did not do > > > anything to enable any kind of monitoring. > > > > > > Regards, > > > Dima Gutzeit. > > > > > > Sent from my iPhone > > > > > > On 5 באוק 2011, at 18:50, Patrick Hunt <[email protected]> wrote: > > > > > > > Same here. What version of what jdk on what os are you running? > (hint: > > > > type "java -version"). Include the environment details that get > output > > > > to the log when zk starts. > > > > > > > > Are you starting JMX or some other VM service that enables remote > > > monitoring? > > > > > > > > Did you try telneting to that port and type something, did it respond > > > > or generate some error in the log? > > > > > > > > Patrick > > > > > > > > On Mon, Oct 3, 2011 at 10:14 AM, Ted Dunning <[email protected]> > > > wrote: > > > >> I don't know, then. > > > >> > > > >> On Mon, Oct 3, 2011 at 10:04 AM, Dima Gutzeit > > > >> <[email protected]>wrote: > > > >> > > > >>> No, only one server is running and no clients connected. > > > >>> > > > >>> Regards, > > > >>> Dima Gutzeit. > > > >>> > > > >>> Sent from my iPhone > > > >>> > > > >>> On 3 באוק 2011, at 18:52, Ted Dunning <[email protected]> > wrote: > > > >>> > > > >>>> Could they be the receiving side of the connections from two other > > > >>> members > > > >>>> of the ZK cluster? > > > >>>> > > > >>>> On Mon, Oct 3, 2011 at 9:03 AM, Dima Gutzeit < > > > >>> [email protected]>wrote: > > > >>>> > > > >>>>> Hi, > > > >>>>> > > > >>>>> I am running a ZooKeeper vanilla distribution on a linux machine. > > > Doing > > > >>>>> netstat I can see that server listens to the following ports: > > > >>>>> > > > >>>>> tcp 0 0 127.0.0.1:32000 0.0.0.0:* > > > >>>>> LISTEN 16929/java > > > >>>>> tcp 0 0 0.0.0.0:2181 0.0.0.0:* > > > >>>>> LISTEN 16929/java > > > >>>>> tcp 0 0 0.0.0.0:3888 0.0.0.0:* > > > >>>>> LISTEN 16929/java > > > >>>>> tcp 0 0 0.0.0.0:44635 0.0.0.0:* > > > >>>>> LISTEN 16929/java > > > >>>>> > > > >>>>> I can explain 2181 which is the client port and 3888 which is > > > >>>>> communication-between-nodes port.. What are the other two ? > > > >>>>> > > > >>>>> Thanks in advance. > > > >>>>> > > > >>>>> Regards, > > > >>>>> Dima Gutzeit. > > > >>>>> > > > >>> > > > >> > > > > > >
