You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/02/21 21:44:38 UTC

[jira] Resolved: (CASSANDRA-2185) Attempting to delete a non-existent file on upgrade to 0.7.2 from 0.7.1

     [ https://issues.apache.org/jira/browse/CASSANDRA-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-2185.
---------------------------------------

    Resolution: Duplicate
      Assignee:     (was: Matthew F. Dennis)

fixed in CASSANDRA-2206

> 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
>             Fix For: 0.7.3
>
>
> 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