You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Jeremy Hanna <je...@gmail.com> on 2010/11/10 18:41:05 UTC

Re: Cassandra 0.7 bootstrap exception on windows

moving this to the cassandra user list.

On Nov 10, 2010, at 11:05 AM, Aditya Muralidharan wrote:

> Hi,
> 
> I'm building (on windows) a release tar from the HEAD of the Cassandra 0.7 branch. Running a new single node instance of Cassandra gives me the following bootstrap exception:
> INFO 10:54:14,030 Enqueuing flush of Memtable-LocationInfo@613975815(227 bytes, 4 operations)
> INFO 10:54:14,036 Writing Memtable-LocationInfo@613975815(227 bytes, 4 operations)
> ERROR 10:54:14,278 Fatal exception in thread Thread[FlushWriter:1,5,main]
> java.io.IOError: java.io.IOException: rename failed of \var\lib\cassandra\data\system\LocationInfo-e-1-Data.db
>        at org.apache.cassandra.io.sstable.SSTableWriter.rename(SSTableWriter.java:238)
>        at org.apache.cassandra.io.sstable.SSTableWriter.closeAndOpenReader(SSTableWriter.java:208)
>        at org.apache.cassandra.io.sstable.SSTableWriter.closeAndOpenReader(SSTableWriter.java:191)
>        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 \var\lib\cassandra\data\system\LocationInfo-e-1-Data.db
>        at org.apache.cassandra.utils.FBUtilities.renameWithConfirm(FBUtilities.java:359)
>        at org.apache.cassandra.io.sstable.SSTableWriter.rename(SSTableWriter.java:234)
>        ... 12 more
> 
> 
> This is not a problem on linux. Any thoughts? Anyone else seeing this behavior?
> 
> Thanks.
> 
> AD