You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2012/08/23 20:09:42 UTC
[jira] [Created] (CASSANDRA-4572) lost+found directory in the data
dir causes problems again
Brandon Williams created CASSANDRA-4572:
-------------------------------------------
Summary: 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
Fix For: 1.1.5
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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CASSANDRA-4572) lost+found directory in the data
dir causes problems again
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams reassigned CASSANDRA-4572:
-------------------------------------------
Assignee: Yuki Morishita
> 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
>
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4572) lost+found directory in the
data dir causes problems again
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445129#comment-13445129 ]
Jonathan Ellis commented on CASSANDRA-4572:
-------------------------------------------
+1
> 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
[jira] [Updated] (CASSANDRA-4572) lost+found directory in the data
dir causes problems again
Posted by "Yuki Morishita (JIRA)" <ji...@apache.org>.
[ 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