zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Nauroth <cnaur...@hortonworks.com>
Subject Re: zookeeper official docker image
Date Tue, 09 Jun 2015 17:11:42 GMT
ZOOKEEPER-1940 is an existing issue that discusses running ZooKeeper in
Docker.  That might be a good place to collaborate on any contributions.
Thank you, Vincenzo!


--Chris Nauroth

On 6/9/15, 8:42 AM, "Vincenzo D'Amore" <v.damore@gmail.com> wrote:

>Hi, I have already built two docker images (standalone and ensemble for
>cluster). My work is available here:
>But I'm facing with a problem, I cannot open a client connection to a
>zookeeper instance running into a docker images from outside (btw I have
>a similar problem with a VPN).
>As far as I understood, after the first connection to client port 2181,
>there is a second connection from client to server to a random port which
>is dynamically assigned by zookeeper server.
>[NIOServerCxn.Factory:] -
>Accepted socket connection from /
>INFO [NIOServerCxn.Factory:] -
>Client attempting to establish new session at /
>INFO  [SyncThread:0:ZooKeeperServer@617] - Established session
>0x14dd817fa700010 with negotiated timeout 20000 for client /
>WARN  [NIOServerCxn.Factory:] -
>caught end of stream exception
>EndOfStreamException: Unable to read additional data from client
>sessionid 0x14dd817fa700010, likely client has closed socket
>at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228)
>at java.lang.Thread.run(Thread.java:745)
>53159 port is unreachable from outside, because it is random and cannot
>be mapped to VPN access rules.
>Is there a way to workaround this problem?
>May I define a static port or a port range for the second connection?
>> On 09/giu/2015, at 17:31, Flavio Junqueira
>><fpjunqueira@yahoo.com.INVALID> wrote:
>> Not that I know of, but this is not to say that it wouldn't be great to
>>have. Are you interested in helping us to do it?
>> -Flavio 
>>    On Tuesday, June 9, 2015 4:27 PM, Pankaj Saha
>><psaha4@binghamton.edu> wrote:
>> Hi all,
>> looks like there are no official zookeeper builds are available in
>> registry. Can anybody please let me know if we have any docker registry
>> that you guys are planning to release as official docker image?
>> Thanks
>> Pankaj

View raw message