On Mon, Nov 4, 2013 at 2:09 PM, Elias Ross <genericelias@gmail.com> wrote:

Thanks Robert.

CASSANDRA-6298


I've been attempting a scrub and see the same issue. Is there some mapping issue? Are six data directories too much for Cassandra?

$ ./nodetool -p 7299 scrub rhq
Exception in thread "main" java.lang.RuntimeException: Tried to create duplicate hard link to /data05/rhq/data/rhq/six_hour_metrics/snapshots/pre-scrub-1383787540489/rhq-six_hour
_metrics-ic-6-Summary.db
        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.scrub(ColumnFamilyStore.java:974)
        at org.apache.cassandra.service.StorageService.scrub(StorageService.java:2155)