cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew F. Dennis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1547) lost+found directories cause problems for cassandra
Date Mon, 04 Oct 2010 16:12:37 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917648#action_12917648
] 

Matthew F. Dennis commented on CASSANDRA-1547:
----------------------------------------------

I wasn't able to get a copy of the stack trace at the time, but it looks like it's just the
commitlog directly and not the data directory too.

{code}
 INFO 10:32:24,958 JNA not found. Native methods will be disabled.
 INFO 10:32:25,152 DiskAccessMode 'auto' determined to be standard, indexAccessMode is standard
 INFO 10:32:25,607 Sampling index for /var/lib/cassandra/data/system/LocationInfo-1-Data.db
 INFO 10:32:25,639 Sampling index for /var/lib/cassandra/data/system/LocationInfo-2-Data.db
 INFO 10:32:25,702 Sampling index for /var/lib/cassandra/data/Keyspace1/Standard1-1-Data.db
 INFO 10:32:25,889 Replaying /var/lib/cassandra/commitlog/CommitLog-1286206104383.log, /var/lib/cassandra/commitlog/lost+found
java.io.FileNotFoundException: /var/lib/cassandra/commitlog/lost+found (Is a directory)
	at java.io.RandomAccessFile.open(Native Method)
	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
	at org.apache.cassandra.io.util.BufferedRandomAccessFile.<init>(BufferedRandomAccessFile.java:144)
	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:186)
	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:173)
	at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:114)
	at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:214)
 INFO 10:32:25,913 Finished reading /var/lib/cassandra/commitlog/CommitLog-1286206104383.log
ERROR 10:32:25,916 Exception encountered during startup.
java.io.FileNotFoundException: /var/lib/cassandra/commitlog/lost+found (Is a directory)
	at java.io.RandomAccessFile.open(Native Method)
	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
	at org.apache.cassandra.io.util.BufferedRandomAccessFile.<init>(BufferedRandomAccessFile.java:144)
	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:186)
	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:173)
	at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:114)
	at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:214)
Exception encountered during startup.
{code}


> lost+found directories cause problems for cassandra 
> ----------------------------------------------------
>
>                 Key: CASSANDRA-1547
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1547
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Matthew F. Dennis
>            Assignee: Gary Dusbabek
>            Priority: Minor
>             Fix For: 0.7.0
>
>
> ext3/4 make lost+found directories at the root of the file system.  if you then point
C* at the root of the FS (e.g. you have a mount point of /cassandra_data and/or /cassandra_commitlog)
C* thinks lost+found is a keyspace and spews.

-- 
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