Giter VIP home page Giter VIP logo

Comments (10)

josdotso avatar josdotso commented on June 24, 2024 1

https://issues.apache.org/jira/browse/ZOOKEEPER-2960

from zookeeper-docker.

31z4 avatar 31z4 commented on June 24, 2024

@zanes2016 thanks for you report. Is this reproducable with Zookeeper running on the host instead of Docker?

from zookeeper-docker.

zanes2016 avatar zanes2016 commented on June 24, 2024

@31z4 I haven't tried that yet since we run everything in docker. If it helps I can try to install/configure zookeeper to run on an Ubuntu 16.04 host.

from zookeeper-docker.

31z4 avatar 31z4 commented on June 24, 2024

Yeah, that would be really helpful!

from zookeeper-docker.

31z4 avatar 31z4 commented on June 24, 2024

@zanes2016 I cannot reproduce this with zookeeper:3.4.11 docker image.

# echo conf | nc localhost 2181
clientPort=2181
dataDir=/data/version-2
dataLogDir=/datalog/version-2
tickTime=2000
maxClientCnxns=60
minSessionTimeout=4000
maxSessionTimeout=40000
serverId=0

# cat /conf/zoo.cfg
clientPort=2181
dataDir=/data
dataLogDir=/datalog
tickTime=2000
initLimit=5
syncLimit=2

# ls /datalog/version-2
log.1

# ls /data
myid       version-2

from zookeeper-docker.

31z4 avatar 31z4 commented on June 24, 2024

Isn't reproduced with zookeeper:3.5.

# ls /datalog/version-2/
log.100000001

# ls /data
myid       version-2

Also, it seems that you were running 3.5 instead of 3.4 because of the log file name.

from zookeeper-docker.

31z4 avatar 31z4 commented on June 24, 2024

3.3 is also fine.

from zookeeper-docker.

zanes2016 avatar zanes2016 commented on June 24, 2024

I've noticed that I only see this when run in HA/cluster mode (not single node). I'm also deploying this with Ansible, but that would be surprising if the docker_container Ansible module was causing this issue. And I am certain that I've been specifying zookeeper 3.4.

from zookeeper-docker.

31z4 avatar 31z4 commented on June 24, 2024

Would be great to know more about how exactly do you run it. If you use docker-compose or swarm mode, please show your stack.yml.

from zookeeper-docker.

31z4 avatar 31z4 commented on June 24, 2024

Fixed in 3.4.12.

from zookeeper-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.