You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Peter Lin <wo...@gmail.com> on 2010/12/07 22:51:10 UTC

0.7 RC1

I just downloaded the 0.7 RC1 and got an error starting cassandra. I
have 0.6.x working on my system, so I used the conversion tool to
convert my storage-conf to cassandra.yaml.

it looks like the conversion tool didn't add entries for commitlog and
saved_caches directory in the configuration file. I added it manually
and got past that. The server seems to start, but I get the following
error.

ERROR 16:45:00,790 Fatal exception in thread Thread[FlushWriter:1,5,main]
java.io.IOError: java.io.IOException: rename failed of
E:\apache-cassandra-0.7.0-rc1\data\system\LocationInfo-e-1-Index.db
        at org.apache.cassandra.io.sstable.SSTableWriter.rename(SSTableWriter.java:214)
        at org.apache.cassandra.io.sstable.SSTableWriter.closeAndOpenReader(SSTableWriter.java:184)
        at org.apache.cassandra.io.sstable.SSTableWriter.closeAndOpenReader(SSTableWriter.java:167)
        at org.apache.cassandra.db.Memtable.writeSortedContents(Memtable.java:161)
        at org.apache.cassandra.db.Memtable.access$000(Memtable.java:49)
        at org.apache.cassandra.db.Memtable$1.runMayThrow(Memtable.java:174)
        at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
        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:619)
Caused by: java.io.IOException: rename failed of
E:\apache-cassandra-0.7.0-rc1\data\system\LocationInfo-e-1-Index.db
        at org.apache.cassandra.utils.FBUtilities.renameWithConfirm(FBUtilities.java:359)
        at org.apache.cassandra.io.sstable.SSTableWriter.rename(SSTableWriter.java:210)
        ... 12 more


Is this error benign or is it due to a missing configuration in cassandra.yaml?

thanks

Re: 0.7 RC1

Posted by Peter Lin <wo...@gmail.com>.
thanks. Glad to see it wasn't looser error on my part. the new feature
set looks great, thanks to the developers for all the hard work.


On Tue, Dec 7, 2010 at 5:00 PM, Aaron Morton <aa...@thelastpickle.com> wrote:
> Sounds like
> http://www.mail-archive.com/user@cassandra.apache.org/msg07514.html
> https://issues.apache.org/jira/browse/CASSANDRA-1790
> Aaron
>
> On 08 Dec, 2010,at 10:51 AM, Peter Lin <wo...@gmail.com> wrote:
>
> I just downloaded the 0.7 RC1 and got an error starting cassandra. I
> have 0.6.x working on my system, so I used the conversion tool to
> convert my storage-conf to cassandra.yaml.
>
> it looks like the conversion tool didn't add entries for commitlog and
> saved_caches directory in the configuration file. I added it manually
> and got past that. The server seems to start, but I get the following
> error.
>
> ERROR 16:45:00,790 Fatal exception in thread Thread[FlushWriter:1,5,main]
> java.io.IOError: java.io.IOException: rename failed of
> E:\apache-cassandra-0.7.0-rc1\data\system\LocationInfo-e-1-Index.db
> at
> org.apache.cassandra.io.sstable.SSTableWriter.rename(SSTableWriter.java:214)
> at
> org.apache.cassandra.io.sstable.SSTableWriter.closeAndOpenReader(SSTableWriter.java:184)
> at
> org.apache.cassandra.io.sstable.SSTableWriter.closeAndOpenReader(SSTableWriter.java:167)
> at org.apache.cassandra.db.Memtable.writeSortedContents(Memtable.java:161)
> at org.apache.cassandra.db.Memtable.access$000(Memtable.java:49)
> at org.apache.cassandradb.Memtable$1.runMayThrow(Memtable.java:174)
> at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
> 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:619)
> Caused by: java.io.IOException: rename failed of
> E:\apache-cassandra-0.7.0-rc1\data\system\LocationInfo-e-1-Index.db
> at
> org.apache.cassandra.utils.FBUtilities.renameWithConfirm(FBUtilities.java:359)
> at
> org.apache.cassandra.io.sstable.SSTableWriter.rename(SSTableWriter.java:210)
> ... 12 more
>
>
> Is this error benign or is it due to a missing configuration in
> cassandra.yaml?
>
> thanks
>

Re: 0.7 RC1

Posted by Aaron Morton <aa...@thelastpickle.com>.
Sounds likeĀ 
http://www.mail-archive.com/user@cassandra.apache.org/msg07514.html

https://issues.apache.org/jira/browse/CASSANDRA-1790

Aaron


On 08 Dec, 2010,at 10:51 AM, Peter Lin <wo...@gmail.com> wrote:

I just downloaded the 0.7 RC1 and got an error starting cassandra. I
have 0.6.x working on my system, so I used the conversion tool to
convert my storage-conf to cassandra.yaml.

it looks like the conversion tool didn't add entries for commitlog and
saved_caches directory in the configuration file. I added it manually
and got past that. The server seems to start, but I get the following
error.

ERROR 16:45:00,790 Fatal exception in thread Thread[FlushWriter:1,5,main]
java.io.IOError: java.io.IOException: rename failed of
E:\apache-cassandra-0.7.0-rc1\data\system\LocationInfo-e-1-Index.db
at org.apache.cassandra.io.sstable.SSTableWriter.rename(SSTableWriter.java:214)
at org.apache.cassandra.io.sstable.SSTableWriter.closeAndOpenReader(SSTableWriter.java:184)
at org.apache.cassandra.io.sstable.SSTableWriter.closeAndOpenReader(SSTableWriter.java:167)
at org.apache.cassandra.db.Memtable.writeSortedContents(Memtablejava:161)
at org.apache.cassandra.db.Memtable.access$000(Memtable.java:49)
at org.apache.cassandra.db.Memtable$1.runMayThrow(Memtable.java:174)
at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
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:619)
Caused by: java.io.IOException: rename failed of
E:\apache-cassandra-0.7.0-rc1\data\system\LocationInfo-e-1-Index.db
at org.apache.cassandra.utils.FBUtilities.renameWithConfirm(FBUtilities.java:359)
at org.apache.cassandra.io.sstable.SSTableWriter.rename(SSTableWriter.java:210)
... 12 more


Is this error benign or is it due to a missing configuration in cassandra.yaml?

thanks