Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

log cleanup does not work when snapshots and transactions are in different directories #131

Closed
mwhooker opened this issue Jun 18, 2013 · 2 comments

Comments

@mwhooker
Copy link

using version 1.4.8

java -jar /opt/exhibitor/1.4.8.jar --configtype file --defaultconfig /tmp/vagrant-chef-1/exhibitor-defaultconfig --fsconfigdir /tmp --jquerystyle black --port 8080 --servo true --filesystembackup true
vagrant@simple-zookeeper:/mnt$ cat /tmp/vagrant-chef-1/exhibitor-defaultconfig
zookeeper-data-directory=/mnt/zookeeper_snapshots
cleanup-period-ms=30000
zookeeper-install-directory=/opt/zookeeper/*
check-ms=30000
zookeeper-log-directory=/mnt/zookeeper_transactions
log-index-directory=/mnt/zookeeper_transactions
backup-period-ms=0
client-port=2181
cleanup-max-files=3
backup-max-store-ms=0
connect-port=2888
backup-extra=
observer-threshold=0
election-port=3888
zoo-cfg-extra=tickTime\=2000&initLimit\=10&syncLimit\=5
auto-manage-instances-settling-period-ms=0
auto-manage-instances=1
vagrant@simple-zookeeper:/mnt$ cat /tmp/exhibitor.properties
#Auto-generated by Exhibitor
#Tue Jun 18 05:43:36 CEST 2013
com.netflix.exhibitor-rolling-hostnames=
com.netflix.exhibitor-rolling.zookeeper-data-directory=/mnt/zookeeper_snapshots
com.netflix.exhibitor-rolling.servers-spec=XXX
com.netflix.exhibitor.java-environment=
com.netflix.exhibitor.zookeeper-data-directory=/mnt/zookeeper_snapshots
com.netflix.exhibitor-rolling-hostnames-index=0
com.netflix.exhibitor-rolling.java-environment=
com.netflix.exhibitor-rolling.observer-threshold=0
com.netflix.exhibitor.servers-spec=XXX
com.netflix.exhibitor.cleanup-period-ms=30000
com.netflix.exhibitor.zookeeper-install-directory=/opt/zookeeper/zookeeper-3.4.5
com.netflix.exhibitor.check-ms=30000
com.netflix.exhibitor.zookeeper-log-directory=/mnt/zookeeper_transactions
com.netflix.exhibitor-rolling.auto-manage-instances=1
com.netflix.exhibitor-rolling.cleanup-period-ms=30000
com.netflix.exhibitor-rolling.auto-manage-instances-settling-period-ms=0
com.netflix.exhibitor-rolling.check-ms=30000
com.netflix.exhibitor.log-index-directory=/mnt/zookeeper_snapshots
com.netflix.exhibitor-rolling.log-index-directory=/mnt/zookeeper_snapshots
com.netflix.exhibitor.backup-period-ms=0
com.netflix.exhibitor-rolling.connect-port=2888
com.netflix.exhibitor-rolling.election-port=3888
com.netflix.exhibitor-rolling.backup-extra=directory\=
com.netflix.exhibitor.client-port=2181
com.netflix.exhibitor-rolling.zoo-cfg-extra=tickTime\=2000&initLimit\=10&syncLimit\=5
com.netflix.exhibitor-rolling.zookeeper-install-directory=/opt/zookeeper/zookeeper-3.4.5
com.netflix.exhibitor.cleanup-max-files=3
com.netflix.exhibitor-rolling.backup-period-ms=0
com.netflix.exhibitor-rolling.client-port=2181
com.netflix.exhibitor.backup-max-store-ms=0
com.netflix.exhibitor-rolling.cleanup-max-files=3
com.netflix.exhibitor-rolling.backup-max-store-ms=0
com.netflix.exhibitor.connect-port=2888
com.netflix.exhibitor.backup-extra=directory\=
com.netflix.exhibitor.log4j-properties=
com.netflix.exhibitor.observer-threshold=0
com.netflix.exhibitor.election-port=3888
com.netflix.exhibitor.zoo-cfg-extra=tickTime\=2000&initLimit\=10&syncLimit\=5
com.netflix.exhibitor-rolling.zookeeper-log-directory=/mnt/zookeeper_transactions
com.netflix.exhibitor.auto-manage-instances-settling-period-ms=0
com.netflix.exhibitor-rolling.log4j-properties=
com.netflix.exhibitor.auto-manage-instances=1

let me know if I can provide any more information

@Randgalt
Copy link
Contributor

Makes sense - I probably have to make the same change that I made for backup.

@Randgalt
Copy link
Contributor

Will be fixed in next release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants