cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1348) Failed to delete commitlog when restarting service
Date Tue, 07 Sep 2010 15:29:33 GMT

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

Jonathan Ellis updated CASSANDRA-1348:
--------------------------------------

    Fix Version/s: 0.6.6

backported try/finally from original patch to 0.6.  (failure to delete is already non-fatal
there.)

> Failed to delete commitlog when restarting service
> --------------------------------------------------
>
>                 Key: CASSANDRA-1348
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1348
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.6
>         Environment: Windows Server 2008 R2 64bit
>            Reporter: Viktor Jevdokimov
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.6.6, 0.7 beta 2
>
>         Attachments: 1348-2.txt, 1348.txt
>
>
> When restarting any Cassandra node we've got exception:
> ERROR 09:42:27,869 Exception encountered during startup.
> java.io.IOException: Failed to delete C:\cassandra\data\commitlog\CommitLog-1280817512228.log
> 	at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:45)
> 	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:177)
> 	at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:120)
> 	at org.apache.cassandra.service.AbstractCassandraDaemon.init(AbstractCassandraDaemon.java:57)
> 	at org.apache.cassandra.contrib.windows.service.WindowsService.start(Unknown Source)
> 	at org.apache.cassandra.contrib.windows.service.WindowsService.main(Unknown Source)
>  INFO 09:42:27,869 Exception encountered during startup.
>  INFO 09:42:27,869 Cassandra Service Finished: Tue Aug 03 09:42:27 EEST 2010
> Aftrer exception was thrown and Cassandra didn't started, within commitlog directory
there's only one file: CommitLog-1280817512228.log
> and no CommitLog-1280817512228.log.header. Looks like CommitLog-1280817512228.log was
a new file, not the last one after stopping service.
> After few restarts .log file is deleted and Cassandra is working fine until next restart.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message