-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Auto Purge behavior of Zookeeper #18
Open
mikewchicago13
wants to merge
14
commits into
mbabineau:master
Choose a base branch
from
mikewchicago13:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ug exactly what is failing
…tar.gz now gives an HTTP 404 Not Found. Upgrading to 3.4.7
… can debug exactly what is failing" This reverts commit 4797d2b.
….purgeInterval from zookeeper 3.4.0 https://zookeeper.apache.org/doc/trunk/zookeeperAdmin.html
…hat actually is being changed to see if it takes effect because I changed the new two settings, but it was not reflected in zoo.cfg $ docker exec zookeeper1 cat //opt/exhibitor/defaults.conf zookeeper-data-directory=/opt/zookeeper/snapshots zookeeper-install-directory=/opt/zookeeper zookeeper-log-directory=/opt/zookeeper/transactions log-index-directory=/opt/zookeeper/transactions cleanup-period-ms=300000 check-ms=30000 backup-period-ms=600000 client-port=2181 cleanup-max-files=20 backup-max-store-ms=21600000 connect-port=2888 observer-threshold=0 election-port=3888 zoo-cfg-extra=tickTime\=2000&initLimit\=10&syncLimit\=5&quorumListenOnAllIPs\=true&autopurge.snapRetainCount\=4&autopurge.purgeInterval\=17 auto-manage-instances-settling-period-ms=0 auto-manage-instances=1 auto-manage-instances-fixed-ensemble-size=0 backup-extra=throttle\=&bucket-name\=run-local-bucket-2015-12-17-10-31-02&key-prefix\=cluster-prefix-2015-12-17-10-31-02&max-retries\=4&retry-sleep-ms\=30000 $ docker exec zookeeper1 cat //opt/zookeeper/conf/zoo.cfg #Auto-generated by Exhibitor - Thu Dec 17 16:33:45 UTC 2015 #Thu Dec 17 16:33:45 UTC 2015 autopurge.purgeInterval=1 server.1=192.168.99.101\:2888\:3888 initLimit=10 syncLimit=5 autopurge.snapRetainCount=5 clientPort=2181 tickTime=2000 quorumListenOnAllIPs=true dataDir=/opt/zookeeper/snapshots dataLogDir=/opt/zookeeper/transactions
…-extra that actually is being changed to see if it takes effect because I changed the new two settings, but it was not reflected in zoo.cfg" This reverts commit d294ac4.
…ld and test" This reverts commit 5af7a9f.
lamdor
pushed a commit
to Banno/docker-zk-exhibitor
that referenced
this pull request
Jan 8, 2016
mbabineau#18 for upgrading zk to 3.4.7 and enable new autopurge configurations.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Zookeeper 3.4.0 added two settings for automatically purging snapshots and transaction log files after a specified interval. I have found it necessary to use these settings to enable Zookeeper to stay running without running out of disk space.