cassandra restart failed with nullpoint exception

java.lang.NullPointerException: null
at org.apache.cassandra.db.ColumnFamilyStore.removeUnfinishedCompactionLeftovers
Hint: /data/******/la-** does not exist

Reason :
use find ./ -name "la-*" -mtime +n -print -delete
may be that the time of several files in the same sstable is wrong. Only a part of the files are deleted, but not all of them. Find other files in the file prompted:
ll -h /data/** ***/la-395693-big-*
and then delete the found files (there may be many such cases, delete one by one. If there are too many, write a script to delete)
restart and it will be ok

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326432733&siteId=291194637