Attempting to delete a non-existent file on upgrade to 0.7.2 from 0.7.1
-----------------------------------------------------------------------

                 Key: CASSANDRA-2185
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2185
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 0.7.2
            Reporter: Joaquin Casares
            Priority: Minor


Upgraded to cassandra 0.7.2 with data and logs directories from cassandra 
0.7.1, but the cassandra installation itself was completely new. 14 of my 15 
nodes started up fine, but one of them failed to start up due to the error 
below. 

Workaround: creating the file it was wanting to delete in the system keyspace. 

ERROR 18:15:35,158 Exception encountered during startup. 
java.lang.AssertionError: attempted to delete non-existing file 
Schema-tmp-f-763-Filter.db 
        at 
org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:46) 
        at 
org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:41) 
        at org.apache.cassandra.io.sstable.SSTable.delete(SSTable.java:138) 
        at 
org.apache.cassandra.db.ColumnFamilyStore.scrubDataDirectories(ColumnFamilyStore.java:468)
 
        at 
org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:126)
 
        at 
org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:316)
 
        at 
org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:79) 
Exception encountered during startup. 
java.lang.AssertionError: attempted to delete non-existing file 
Schema-tmp-f-763-Filter.db 
        at 
org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:46) 
        at 
org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:41) 
        at org.apache.cassandra.io.sstable.SSTable.delete(SSTable.java:138) 
        at 
org.apache.cassandra.db.ColumnFamilyStore.scrubDataDirectories(ColumnFamilyStore.java:468)
 
        at 
org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:126)
 
        at 
org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:316)
 
        at 
org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:79) 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to