zookeeper job from zookeeper/0.0.6
Github source:
2f8926f
or
master branch
Properties¶
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
force_sync
¶
Requires updates to be synced to media of the transaction log before finishing processing the update. Setting to ‘no’ improves performance dramatically at the cost of losing recent commits if all nodes crash at the same time
- Default
"yes"
global_outstanding_limit
¶
Throttle outstanding client requests
- Default
1000
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
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
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/ctl
(fromctl.erb
)bin/pre-start
(frompre-start.erb
)config/configuration.xsl
(fromconfiguration.xsl
)config/log4j.properties
(fromlog4j.properties
)config/myid
(frommyid.erb
)config/zoo.cfg
(fromzoo.cfg.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.