cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thibaut Britz <thibaut.br...@trendiction.com>
Subject Re: [0.7.1] more exceptions: Illegal mode
Date Mon, 07 Feb 2011 14:42:15 GMT
I think this is related to a faulty disk.


On Mon, Feb 7, 2011 at 3:35 PM, Patrik Modesto <patrik.modesto@gmail.com> wrote:
> INFO 15:30:49,647 Compacted to
> /www/foo/cassandra/data/foo/Url-tmp-f-767-Data.db.  4,199,999,762 to
> 4,162,579,242 (~99% of original) bytes for 379,179 keys.  Time:
> 137,149ms.
> ERROR 15:30:49,699 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:662)
> 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
> ERROR 15:30:49,699 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:662)
> 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
>

Mime
View raw message