Skip to content

zookeeper job from mesos/4

Github source: b8adfbe8 or master branch

Properties

zookeeper

autopurge_purge_interval

The time interval in hours for which the purge task has to be triggered

Default
24

autopurge_snap_retain_count

Number of most recent snapshots to retain

Default
3

client_port

The port to listen for client connections

Default
2181

cnx_timeout

Sets the timeout value for opening connections for leader election notifications

Default
5

election_algorim

Election implementation to use

Default
3

global_outstanding_limit

Throttle outstanding client requests

Default
1000

group

Group which will own the Apache ZooKeeper services

Default
vcap

init_limit

Amount of time, in ticks, to allow followers to connect and sync to a leader

Default
5

leader_election_port

Apache Zookeeper Client leader election port

Default
3888

leader_serves

Leader accepts client connections

Default
"yes"

listen_address

The address to listen for client connections

Default
0.0.0.0

max_client_connections

Limits the number of concurrent connections that a single client may make to a single member of the ZooKeeper ensemble

Default
60

max_session_timeout

the maximum session timeout in milliseconds that the server will allow the client to negotiate

Default
40000

min_session_timeout

the minimum session timeout in milliseconds that the server will allow the client to negotiate

Default
4000

pre_allocation_size

preAllocSize kilobytes for transaction log blocks

Default
"65536"

quorum_port

Apache Zookeeper Client quorum port

Default
2888

servers

List of all Apache Zookeeper server host IP/hostnames

snap_count

Number of transactions before a snapshot is started and a new transaction log file is created

Default
100000

sync_enabled

If the observers log transaction and write snapshot to disk by default like the participants

Default
true

sync_limit

Amount of time, in ticks, to allow followers to sync with ZooKeeper

Default
2

tick_time

The length of a single tick, which is the basic time unit used by ZooKeeper, as measured in milliseconds

Default
2000

user

User which will own the Apache ZooKeeper services

Default
zookeeper

warning_threshold_ms

A warning message will be output to the log whenever an fsync in the Transactional Log (WAL) takes longer than this value

Default
1000

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/zookeeper/ directory (learn more).

  • bin/job_properties.sh (from bin/job_properties.sh.erb)
  • bin/zookeeper_ctl (from bin/zookeeper_ctl.erb)
  • config/configuration.xsl (from config/configuration.xsl)
  • config/log4j.properties (from config/log4j.properties)
  • config/myid (from config/myid.erb)
  • config/zoo.cfg (from config/zoo.cfg.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.