Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions jobs/zookeeper/spec
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ properties:
cnx_timeout:
description: "Sets the timeout value for opening connections for leader election notifications"
default: 5
trans_log_dir:
description: "The location of transaction log. If not set, transaction log will be stored under /var/vcap/sys/log/zookeeper"
default: "/var/vcap/sys/log/zookeeper"
election_algorim:
description: "Election implementation to use"
default: 3
Expand Down
2 changes: 1 addition & 1 deletion jobs/zookeeper/templates/zoo.cfg.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ clientPort=<%= peers.p('client_port') %>
clientPortAddress=<%= p('listen_address') %>
cnxTimeout=<%= p('cnx_timeout') %>
dataDir=/var/vcap/store/zookeeper
dataLogDir=/var/vcap/sys/log/zookeeper
dataLogDir=<%= p('trans_log_dir') %>
electionAlg=<%= p('election_algorim') %>
fsync.warningthresholdms=<%= p('warning_threshold_ms') %>
globalOutstandingLimit=<%= p('global_outstanding_limit') %>
Expand Down