Giter VIP home page Giter VIP logo

Comments (6)

arrawatia avatar arrawatia commented on August 16, 2024 1

@cotedm 2000 is ZK's internal default too. So, that works out :)

from cp-docker-images.

arrawatia avatar arrawatia commented on August 16, 2024

I tried to match the required properties and these are required as per the ZK docs[1]. But I agree with you that these are advanced configs and we should add defaults for these (to match CP defaults).

[1] http://zookeeper.apache.org/doc/r3.4.6/zookeeperAdmin.html#sc_minimumConfiguration

from cp-docker-images.

cotedm avatar cotedm commented on August 16, 2024

cool, I'll update the docs during my review now since it sounds like you'll be making this change. PR will be incoming :)

from cp-docker-images.

arrawatia avatar arrawatia commented on August 16, 2024

Update: Looks like ZK docs are incorrect and tickTime is set to a default value of 2000 if not set. So, I will make that optional.

But, syncLimit and initLimit are not optional [2]. Need to figure out if there are any sensible defaults for these.

[2] https://github.com/apache/zookeeper/blob/branch-3.4/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeerConfig.java#L310-L315

from cp-docker-images.

arrawatia avatar arrawatia commented on August 16, 2024

As per @cotedm suggestion, we will use cloudera's defaults for syncLimit and initLimit.

# The number of ticks that the initial 
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between 
# sending a request and getting an acknowledgement
syncLimit=5

from cp-docker-images.

cotedm avatar cotedm commented on August 16, 2024

@arrawatia may want to consider adjusting tickTime to the 2000 default in CDH too since those defaults you've mentioned depend on that

from cp-docker-images.

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.