You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Johannes Siegert <jo...@marktjagd.de> on 2014/01/09 09:49:27 UTC

intention of changing zookeeper port

Hi,

We are using Apache Zookeeper and would like to know the intention 
behind the open tcp port that is changing every time we restart the server?

We know the intention of the client, the leader and the leader election 
port.

Thanks.

Johannes Siegert

Re: intention of changing zookeeper port

Posted by Patrick Hunt <ph...@gmail.com>.
Hi Johannes,

It's really more a JVM question than a ZK issue, but it has come up
before. See this jira for some background:
https://issues.apache.org/jira/browse/ZOOKEEPER-1605?focusedCommentId=13536303&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13536303

Patrick

On Mon, Jan 13, 2014 at 12:39 AM, Johannes Siegert
<jo...@marktjagd.de> wrote:
> Hi Patrick,
>
> thanks for your reply.
>
> It is the JMX-port.
>
> I would like to have a static JMX port to configure our firewall. So I set
> the port with the following java parameters:
>
> -Dcom.sun.management.jmxremote
> -Dcom.sun.management.jmxremote.port=9010
> -Dcom.sun.management.jmxremote.authenticate=false
> -Dcom.sun.management.jmxremote.local.only=false
>
> But now i have 3 additionally ports:
>
> 1. 9010
> 2. dynamicly generated
> 3. dynamicly generated
>
> Is there any chance to bind the dynamicly generated ports to a static port
> number?
>
> Johannes
>
>
> Am 10.01.2014 22:06, schrieb Patrick Hunt:
>
>> I don't see this myself. Can you provide more details on the
>> environment, versions used, configuration, etc...? "sudo netstat
>> -pan|egrep java" or somesuch would probably shed more light.
>>
>> Just a guess but perhaps it's related to JMX? Do you have that turned on?
>>
>> Patrick
>>
>> On Thu, Jan 9, 2014 at 12:49 AM, Johannes Siegert
>> <jo...@marktjagd.de> wrote:
>>>
>>> Hi,
>>>
>>> We are using Apache Zookeeper and would like to know the intention behind
>>> the open tcp port that is changing every time we restart the server?
>>>
>>> We know the intention of the client, the leader and the leader election
>>> port.
>>>
>>> Thanks.
>>>
>>> Johannes Siegert
>
>
> --
> Johannes Siegert
> Softwareentwickler
>
> Telefon:  0351 - 418 894 -73
> Fax:      0351 - 418 894 -99
> E-Mail:   johannes.siegert@marktjagd.de
> Xing:     https://www.xing.com/profile/Johannes_Siegert2
>
> Webseite: http://www.marktjagd.de
> Blog:     http://blog.marktjagd.de
> Facebook: http://www.facebook.com/marktjagd
> Twitter:  http://twitter.com/Marktjagd
> ______________________________________________________
>
> Marktjagd GmbH | Schützenplatz 14 | D - 01067 Dresden
>
> Geschäftsführung: Jan Großmann
> Sitz Dresden | Amtsgericht Dresden | HRB 28678
>

Re: intention of changing zookeeper port

Posted by Johannes Siegert <jo...@marktjagd.de>.
Hi Patrick,

thanks for your reply.

Johannes


Am 17.01.2014 23:52, schrieb Patrick Hunt:
> Hi Johannes,
>
> It's really more a JVM question than a ZK issue, but it has come up
> before. See this jira for some background:
> https://issues.apache.org/jira/browse/ZOOKEEPER-1605?focusedCommentId=13536303&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13536303
>
> Patrick
>
> On Mon, Jan 13, 2014 at 12:39 AM, Johannes Siegert
> <jo...@marktjagd.de> wrote:
>> Hi Patrick,
>>
>> thanks for your reply.
>>
>> It is the JMX-port.
>>
>> I would like to have a static JMX port to configure our firewall. So I set
>> the port with the following java parameters:
>>
>> -Dcom.sun.management.jmxremote
>> -Dcom.sun.management.jmxremote.port=9010
>> -Dcom.sun.management.jmxremote.authenticate=false
>> -Dcom.sun.management.jmxremote.local.only=false
>>
>> But now i have 3 additionally ports:
>>
>> 1. 9010
>> 2. dynamicly generated
>> 3. dynamicly generated
>>
>> Is there any chance to bind the dynamicly generated ports to a static port
>> number?
>>
>> Johannes
>>
>>
>> Am 10.01.2014 22:06, schrieb Patrick Hunt:
>>
>>> I don't see this myself. Can you provide more details on the
>>> environment, versions used, configuration, etc...? "sudo netstat
>>> -pan|egrep java" or somesuch would probably shed more light.
>>>
>>> Just a guess but perhaps it's related to JMX? Do you have that turned on?
>>>
>>> Patrick
>>>
>>> On Thu, Jan 9, 2014 at 12:49 AM, Johannes Siegert
>>> <jo...@marktjagd.de> wrote:
>>>> Hi,
>>>>
>>>> We are using Apache Zookeeper and would like to know the intention behind
>>>> the open tcp port that is changing every time we restart the server?
>>>>
>>>> We know the intention of the client, the leader and the leader election
>>>> port.
>>>>
>>>> Thanks.
>>>>
>>>> Johannes Siegert
>>
>> --
>> Johannes Siegert
>> Softwareentwickler
>>
>> Telefon:  0351 - 418 894 -73
>> Fax:      0351 - 418 894 -99
>> E-Mail:   johannes.siegert@marktjagd.de
>> Xing:     https://www.xing.com/profile/Johannes_Siegert2
>>
>> Webseite: http://www.marktjagd.de
>> Blog:     http://blog.marktjagd.de
>> Facebook: http://www.facebook.com/marktjagd
>> Twitter:  http://twitter.com/Marktjagd
>> ______________________________________________________
>>
>> Marktjagd GmbH | Schützenplatz 14 | D - 01067 Dresden
>>
>> Geschäftsführung: Jan Großmann
>> Sitz Dresden | Amtsgericht Dresden | HRB 28678
>>

-- 
Johannes Siegert
Softwareentwickler

Telefon:  0351 - 418 894 -73
Fax:      0351 - 418 894 -99
E-Mail:   johannes.siegert@marktjagd.de
Xing:     https://www.xing.com/profile/Johannes_Siegert2

Webseite: http://www.marktjagd.de
Blog:     http://blog.marktjagd.de
Facebook: http://www.facebook.com/marktjagd
Twitter:  http://twitter.com/Marktjagd
______________________________________________________

Marktjagd GmbH | Schützenplatz 14 | D - 01067 Dresden

Geschäftsführung: Jan Großmann
Sitz Dresden | Amtsgericht Dresden | HRB 28678


Re: intention of changing zookeeper port

Posted by Patrick Hunt <ph...@apache.org>.
Hi Johannes,

It's really more a JVM question than a ZK issue, but it has come up
before. See this jira for some background:
https://issues.apache.org/jira/browse/ZOOKEEPER-1605?focusedCommentId=13536303&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13536303

Patrick

On Mon, Jan 13, 2014 at 12:39 AM, Johannes Siegert
<jo...@marktjagd.de> wrote:
> Hi Patrick,
>
> thanks for your reply.
>
> It is the JMX-port.
>
> I would like to have a static JMX port to configure our firewall. So I set
> the port with the following java parameters:
>
> -Dcom.sun.management.jmxremote
> -Dcom.sun.management.jmxremote.port=9010
> -Dcom.sun.management.jmxremote.authenticate=false
> -Dcom.sun.management.jmxremote.local.only=false
>
> But now i have 3 additionally ports:
>
> 1. 9010
> 2. dynamicly generated
> 3. dynamicly generated
>
> Is there any chance to bind the dynamicly generated ports to a static port
> number?
>
> Johannes
>
>
> Am 10.01.2014 22:06, schrieb Patrick Hunt:
>
>> I don't see this myself. Can you provide more details on the
>> environment, versions used, configuration, etc...? "sudo netstat
>> -pan|egrep java" or somesuch would probably shed more light.
>>
>> Just a guess but perhaps it's related to JMX? Do you have that turned on?
>>
>> Patrick
>>
>> On Thu, Jan 9, 2014 at 12:49 AM, Johannes Siegert
>> <jo...@marktjagd.de> wrote:
>>>
>>> Hi,
>>>
>>> We are using Apache Zookeeper and would like to know the intention behind
>>> the open tcp port that is changing every time we restart the server?
>>>
>>> We know the intention of the client, the leader and the leader election
>>> port.
>>>
>>> Thanks.
>>>
>>> Johannes Siegert
>
>
> --
> Johannes Siegert
> Softwareentwickler
>
> Telefon:  0351 - 418 894 -73
> Fax:      0351 - 418 894 -99
> E-Mail:   johannes.siegert@marktjagd.de
> Xing:     https://www.xing.com/profile/Johannes_Siegert2
>
> Webseite: http://www.marktjagd.de
> Blog:     http://blog.marktjagd.de
> Facebook: http://www.facebook.com/marktjagd
> Twitter:  http://twitter.com/Marktjagd
> ______________________________________________________
>
> Marktjagd GmbH | Schützenplatz 14 | D - 01067 Dresden
>
> Geschäftsführung: Jan Großmann
> Sitz Dresden | Amtsgericht Dresden | HRB 28678
>

Re: intention of changing zookeeper port

Posted by Johannes Siegert <jo...@marktjagd.de>.
Hi Patrick,

thanks for your reply.

It is the JMX-port.

I would like to have a static JMX port to configure our firewall. So I 
set the port with the following java parameters:

-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9010 
-Dcom.sun.management.jmxremote.authenticate=false 
-Dcom.sun.management.jmxremote.local.only=false

But now i have 3 additionally ports:

1. 9010
2. dynamicly generated
3. dynamicly generated

Is there any chance to bind the dynamicly generated ports to a static 
port number?

Johannes


Am 10.01.2014 22:06, schrieb Patrick Hunt:
> I don't see this myself. Can you provide more details on the
> environment, versions used, configuration, etc...? "sudo netstat
> -pan|egrep java" or somesuch would probably shed more light.
>
> Just a guess but perhaps it's related to JMX? Do you have that turned on?
>
> Patrick
>
> On Thu, Jan 9, 2014 at 12:49 AM, Johannes Siegert
> <jo...@marktjagd.de> wrote:
>> Hi,
>>
>> We are using Apache Zookeeper and would like to know the intention behind
>> the open tcp port that is changing every time we restart the server?
>>
>> We know the intention of the client, the leader and the leader election
>> port.
>>
>> Thanks.
>>
>> Johannes Siegert

-- 
Johannes Siegert
Softwareentwickler

Telefon:  0351 - 418 894 -73
Fax:      0351 - 418 894 -99
E-Mail:   johannes.siegert@marktjagd.de
Xing:     https://www.xing.com/profile/Johannes_Siegert2

Webseite: http://www.marktjagd.de
Blog:     http://blog.marktjagd.de
Facebook: http://www.facebook.com/marktjagd
Twitter:  http://twitter.com/Marktjagd
______________________________________________________

Marktjagd GmbH | Schützenplatz 14 | D - 01067 Dresden

Geschäftsführung: Jan Großmann
Sitz Dresden | Amtsgericht Dresden | HRB 28678


Re: intention of changing zookeeper port

Posted by Patrick Hunt <ph...@apache.org>.
I don't see this myself. Can you provide more details on the
environment, versions used, configuration, etc...? "sudo netstat
-pan|egrep java" or somesuch would probably shed more light.

Just a guess but perhaps it's related to JMX? Do you have that turned on?

Patrick

On Thu, Jan 9, 2014 at 12:49 AM, Johannes Siegert
<jo...@marktjagd.de> wrote:
> Hi,
>
> We are using Apache Zookeeper and would like to know the intention behind
> the open tcp port that is changing every time we restart the server?
>
> We know the intention of the client, the leader and the leader election
> port.
>
> Thanks.
>
> Johannes Siegert