Skip to content
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

chown cassandra logs folder #49

Merged
merged 1 commit into from
Feb 26, 2016

Conversation

ltagliamonte
Copy link
Contributor

The recent change to cassandra running user, removed the possibility to persist cassandra log on disk because the volume mount point has been created as root.
This PR fixes it, performing also the chown on cassandra log folder.

@ltagliamonte
Copy link
Contributor Author

The checks are failing because cassandra version need to be upgraded, please upgrade master and I will rebase.

@yosifkit
Copy link
Member

I made #50 to update the version, but their apt repo is just wrong right now. 😢

@ltagliamonte
Copy link
Contributor Author

@yosifkit can you please restart the travis build?

@ltagliamonte
Copy link
Contributor Author

@yosifkit @tianon what do you think about the PR? an ETA for the merge?
Thank you in advance for your time.

@tianon
Copy link
Member

tianon commented Feb 26, 2016

Yeah, I suppose this seems sane enough:

$ docker run -it --rm --name test cassandra
blah blah blah, boring cassandra output
$ # second window
$ docker diff test
C /etc
C /etc/cassandra
C /etc/cassandra/cassandra-env.sh
C /etc/cassandra/cassandra-rackdc.properties
C /etc/cassandra/cassandra-topology.properties
C /etc/cassandra/cassandra.yaml
C /etc/cassandra/commitlog_archiving.properties
C /etc/cassandra/jvm.options
C /etc/cassandra/logback-tools.xml
C /etc/cassandra/logback.xml
C /etc/cassandra/triggers
C /etc/cassandra/triggers/README.txt
C /tmp
A /tmp/hsperfdata_cassandra
A /tmp/jna-1073564104
A /tmp/liblz4-java7462552453063147539.so
A /tmp/libnetty-transport-native-epoll4879778373960728417.so
C /var
C /var/log
C /var/log/cassandra
A /var/log/cassandra/debug.log
A /var/log/cassandra/gc.log.0.current
A /var/log/cassandra/system.log

@tianon
Copy link
Member

tianon commented Feb 26, 2016

LGTM

tianon added a commit that referenced this pull request Feb 26, 2016
@tianon tianon merged commit 2f08d4a into docker-library:master Feb 26, 2016
tianon added a commit to infosiftr/stackbrew that referenced this pull request Feb 26, 2016
- `cassandra`: chown logs (docker-library/cassandra#49)
- `percona`: 5.7 (docker-library/percona#16, docker-library/percona#17)
- `python`: pip 8! (docker-library/python#83)
- `pypy`: pip 8
- `ruby`: rubygems 2.6.0
RichardScothern pushed a commit to RichardScothern/official-images that referenced this pull request Jun 14, 2016
- `cassandra`: chown logs (docker-library/cassandra#49)
- `percona`: 5.7 (docker-library/percona#16, docker-library/percona#17)
- `python`: pip 8! (docker-library/python#83)
- `pypy`: pip 8
- `ruby`: rubygems 2.6.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants