cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sven Delmas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5591) Windows failure renaming LCS json.
Date Thu, 03 Oct 2013 19:40:42 GMT

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

Sven Delmas updated CASSANDRA-5591:
-----------------------------------

    Attachment: 6145.patch

This adds the files mentioned in the Jira and tweaks cassandra-shuffle.bat.

> Windows failure renaming LCS json.
> ----------------------------------
>
>                 Key: CASSANDRA-5591
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5591
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.4
>         Environment: Windows
>            Reporter: Jeremiah Jordan
>
> Had someone report that on Windows, under load, the LCS json file sometimes fails to
be renamed.
> {noformat}
> ERROR [CompactionExecutor:1] 2013-05-23 14:43:55,848 CassandraDaemon.java (line 174)
Exception in thread Thread[CompactionExecutor:1,1,main]
>  java.lang.RuntimeException: Failed to rename C:\development\tools\DataStax Community\data\data\zzz\zzz\zzz.json
to C:\development\tools\DataStax Community\data\data\zzz\zzz\zzz-old.json
> 	at org.apache.cassandra.io.util.FileUtils.renameWithConfirm(FileUtils.java:133)
> 	at org.apache.cassandra.db.compaction.LeveledManifest.serialize(LeveledManifest.java:617)
> 	at org.apache.cassandra.db.compaction.LeveledManifest.promote(LeveledManifest.java:229)
> 	at org.apache.cassandra.db.compaction.LeveledCompactionStrategy.handleNotification(LeveledCompactionStrategy.java:155)
> 	at org.apache.cassandra.db.DataTracker.notifySSTablesChanged(DataTracker.java:410)
> 	at org.apache.cassandra.db.DataTracker.replaceCompactedSSTables(DataTracker.java:223)
> 	at org.apache.cassandra.db.ColumnFamilyStore.replaceCompactedSSTables(ColumnFamilyStore.java:991)
> 	at org.apache.cassandra.db.compaction.CompactionTask.runWith(CompactionTask.java:230)
> 	at org.apache.cassandra.io.util.DiskAwareRunnable.runMayThrow(DiskAwareRunnable.java:48)
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
> 	at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:58)
> 	at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60)
> 	at org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionTask.run(CompactionManager.java:188)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
> 	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:895)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> 	at java.lang.Thread.run(Thread.java:662)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message