Cassandra 1.2.9, embedded into the RHQ 4.9 project. I'm getting the following:
Caused by: java.lang.RuntimeException: Tried to create duplicate hard link to /data05/rhq/data/system/NodeIdInfo/snapshots/1383587405678/system-NodeIdInfo-ic- 1-TOC.txt at org.apache.cassandra.io.util.FileUtils.createHardLink(FileUtils.java:70) at org.apache.cassandra.io.sstable.SSTableReader.createLinks(SSTableReader.java:1081) at org.apache.cassandra.db.ColumnFamilyStore.snapshotWithoutFlush(ColumnFamilyStore.java:1567) at org.apache.cassandra.db.ColumnFamilyStore.snapshot(ColumnFamilyStore.java:1612) at org.apache.cassandra.db.Table.snapshot(Table.java:194) at org.apache.cassandra.service.StorageService.takeSnapshot(StorageService.java:2203) Clearing the snapshot directory doesn't seem to fix this issue. Restarting the node doesn't fix it. This is obviously a bug, but I'm not sure what to do about it. I don't have enough context to know what this means or what to do to fix it.