Closed JBjumper closed 2 years ago
Are you mounting /var/lib/cassandra
as a bind-mount volume? What are the permissions like in that commitlog
folder
I'm not able to reproduce any issues with running cassandra
$ docker run -d --name cassandra cassandra
3c2559513457004faace953ff927d033eb67567830874cbddb08980c8908fa1b
$ docker exec cassandra ls -l /var/lib/cassandra/commitlog/
total 96
-rw-r--r-- 1 cassandra cassandra 33554432 Mar 30 16:13 CommitLog-7-1648656465078.log
-rw-r--r-- 1 cassandra cassandra 33554432 Mar 30 16:07 CommitLog-7-1648656465079.log
Are you mounting
/var/lib/cassandra
as a bind-mount volume? What are the permissions like in thatcommitlog
folderI'm not able to reproduce any issues with running cassandra
$ docker run -d --name cassandra cassandra 3c2559513457004faace953ff927d033eb67567830874cbddb08980c8908fa1b $ docker exec cassandra ls -l /var/lib/cassandra/commitlog/ total 96 -rw-r--r-- 1 cassandra cassandra 33554432 Mar 30 16:13 CommitLog-7-1648656465078.log -rw-r--r-- 1 cassandra cassandra 33554432 Mar 30 16:07 CommitLog-7-1648656465079.log
i mounted /var/lib/cassandra as a bind-mount volume, and the commitlog folder permissions are drwxrwxr-x, This is an occasional problem. I suspect that the service is interrupted due to out of memory, and finally the commitlog is damaged,but i do not know how to fix it.
Hmm, you might try running nodetool repair
on it https://support.axway.com/kb/181539/language/en
But otherwise you could try asking over at the Docker Community Forums, Docker Community Slack, or Stack Overflow
cassandra 3.11 running with error Exiting due to error while processing commit log during initialization. org.apache.cassandra.db.commitlog.CommitLogReadHandler$CommitLogReadException: Could not read commit log descriptor in file /var/lib/cassandra/commitlog/CommitLog-6-1646630759828.log, i want to know the reason for the error.
error details: