[
https://issues.apache.org/jira/browse/CASSANDRA-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Ellis resolved CASSANDRA-1802.
---------------------------------------
Resolution: Duplicate
fixed in CASSANDRA-1790
> Cassandra fails to start on Windows: rename failed of
> \var\lib\cassandra\data\system\LocationInfo-e-1-Data.db
> -------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-1802
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1802
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.7.0 rc 1
> Environment: Windows XP SP3
> Reporter: F. Andy Seidl
> Priority: Blocker
>
> Cassandra fails to start on Windows:
> C:\Apache\apache-cassandra-0.7.0-rc1\bin>cassandra
> Starting Cassandra Server
> INFO 16:47:38,941 Heap size: 1070399488/1070399488
> INFO 16:47:38,941 JNA not found. Native methods will be disabled.
> INFO 16:47:38,941 Loading settings from
> file:/C:/Apache/apache-cassandra-0.7.0-rc1/conf/cassandra.yaml
> INFO 16:47:39,019 DiskAccessMode 'auto' determined to be standard,
> indexAccessMode is standard
> INFO 16:47:39,066 Creating new commitlog segment
> /var/lib/cassandra/commitlog\CommitLog-1291240059066.log
> INFO 16:47:39,097 read 0 from saved key cache
> INFO 16:47:39,097 read 0 from saved key cache
> INFO 16:47:39,097 read 0 from saved key cache
> INFO 16:47:39,097 read 0 from saved key cache
> INFO 16:47:39,097 read 0 from saved key cache
> INFO 16:47:39,113 loading row cache for LocationInfo of system
> INFO 16:47:39,113 completed loading (0 ms; 0 keys) row cache for
> LocationInfo of system
> INFO 16:47:39,113 loading row cache for HintsColumnFamily of system
> INFO 16:47:39,113 completed loading (0 ms; 0 keys) row cache for
> HintsColumnFamily of system
> INFO 16:47:39,113 loading row cache for Migrations of system
> INFO 16:47:39,113 completed loading (0 ms; 0 keys) row cache for Migrations
> of system
> INFO 16:47:39,113 loading row cache for Schema of system
> INFO 16:47:39,113 completed loading (0 ms; 0 keys) row cache for Schema of
> system
> INFO 16:47:39,113 loading row cache for IndexInfo of system
> INFO 16:47:39,113 completed loading (0 ms; 0 keys) row cache for IndexInfo
> of system
> INFO 16:47:39,128 Couldn't detect any schema definitions in local storage.
> INFO 16:47:39,128 Found table data in data directories. Consider using JMX
> to call org.apache.cassandra.service.StorageService.loadSchemaFromYaml().
> INFO 16:47:39,128 No commitlog files found; skipping replay
> INFO 16:47:39,144 Upgrading to 0.7. Purging hints if there are any. Old
> hints will be snapshotted.
> INFO 16:47:39,144 Cassandra version: 0.7.0-rc1
> INFO 16:47:39,144 Thrift API version: 19.4.0
> INFO 16:47:39,159 Loading persisted ring state
> INFO 16:47:39,159 Starting up server gossip
> INFO 16:47:39,159 switching in a fresh Memtable for LocationInfo at
> CommitLogContext(file='/var/lib/cassandra/commitlog\CommitLog-1291240059066.log',
> position=700)
> INFO 16:47:39,159 Enqueuing flush of memtable-locationi...@9690924(227
> bytes, 4 operations)
> INFO 16:47:39,159 Writing memtable-locationi...@9690924(227 bytes, 4
> operations)
> ERROR 16:47:39,238 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: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
> \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:210)
> ... 12 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.