You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yuki Morishita (JIRA)" <ji...@apache.org> on 2012/08/29 18:22:07 UTC
[jira] [Updated] (CASSANDRA-4572) lost+found directory in the data
dir causes problems again
[ https://issues.apache.org/jira/browse/CASSANDRA-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuki Morishita updated CASSANDRA-4572:
--------------------------------------
Attachment: 4572-1.1.txt
When you do File#listFiles on lost+found directory, it returns null. I believe there are other cases that it returns null, so attached patch just checks null after File#listFiles is performed.
> lost+found directory in the data dir causes problems again
> ----------------------------------------------------------
>
> Key: CASSANDRA-4572
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4572
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.1.0
> Reporter: Brandon Williams
> Assignee: Yuki Morishita
> Fix For: 1.1.5
>
> Attachments: 4572-1.1.txt
>
>
> Looks like we've regressed from CASSANDRA-1547 and mounting a fs directly on the data dir is a problem again.
> {noformat}
> INFO [main] 2012-08-22 23:30:03,710 Directories.java (line 475) Upgrade from pre-1.1 version detected: migrating sstables to new directory layout ERROR [main] 2012-08-22 23:30:03,712 AbstractCassandraDaemon.java (line 370) Exception encountered during startup
> java.lang.NullPointerException at org.apache.cassandra.db.Directories.migrateSSTables(Directories.java:487)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira