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/08 00:30:57 UTC

[jira] Resolved: (CASSANDRA-2131) Illegal file mode when saving caches

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

Jonathan Ellis resolved CASSANDRA-2131.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.7.1
         Reviewer: jbellis
         Assignee: Aaron Morton

fixed in r1068220

> Illegal file mode when saving caches
> ------------------------------------
>
>                 Key: CASSANDRA-2131
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2131
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.1
>            Reporter: Aaron Morton
>            Assignee: Aaron Morton
>             Fix For: 0.7.1
>
>
> The following error is logged when trying to save caches
> DEBUG [CompactionExecutor:1] 2011-02-08 07:30:03,647 CacheWriter.java (line 45) Saving /var/lib/cassandra/saved_caches/Keyspace1-ascii-KeyCache
> ERROR [CompactionExecutor:1] 2011-02-08 07:30:03,725 AbstractCassandraDaemon.java (line 114) Fatal exception in thread Thread[CompactionExecutor:1,1,main]
> java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal mode "w" must be one of "r", "rw", "rws", or "rwd"
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:680)
> Caused by: java.lang.IllegalArgumentException: Illegal mode "w" must be one of "r", "rw", "rws", or "rwd"
> 	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:197)
> 	at org.apache.cassandra.io.util.BufferedRandomAccessFile.<init>(BufferedRandomAccessFile.java:116)
> 	at org.apache.cassandra.io.sstable.CacheWriter.saveCache(CacheWriter.java:48)
> 	at org.apache.cassandra.db.CompactionManager$9.runMayThrow(CompactionManager.java:746)
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
> 	... 6 more

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira