Details
-
Sub-task
-
Status: Resolved
-
Normal
-
Resolution: Invalid
Description
Looks like there's a failure during the abort path on SSTableWriter w/access violation. This didn't show up in CI since there was apparently a missing library on there and auth_test.py was being skipped entirely.
INFO [MigrationStage:1] 2015-07-22 12:33:33,728 ColumnFamilyStore.java:328 - Initializing system_auth.permissions ERROR [CompactionExecutor:2] 2015-07-22 12:33:33,745 SSTable.java:261 - Missing component: c:\temp\dtest-n95zao\test\node1\data\system\schema_columnfamilies-45f5b36024bc3f83a3631034ea4fa697\system-schema_columnfamilies-tmp-ka-5-Digest.sha1 ERROR [CompactionExecutor:2] 2015-07-22 12:33:33,745 SSTable.java:261 - Missing component: c:\temp\dtest-n95zao\test\node1\data\system\schema_columnfamilies-45f5b36024bc3f83a3631034ea4fa697\system-schema_columnfamilies-tmp-ka-5-CompressionInfo.dbERROR [CompactionExecutor:2] 2015-07-22 12:33:33,745 SSTable.java:261 - Missing component: c:\temp\dtest-n95zao\test\node1\data\system\schema_columnfamilies-45f5b36024bc3f83a3631034ea4fa697\system-schema_columnfamilies-tmp-ka-5-Summary.db ERROR [CompactionExecutor:2] 2015-07-22 12:33:33,756 SSTableWriter.java:367 - Failed deleting temp components for c:\temp\dtest-n95zao\test\node1\data\system\schema_columnfamilies-45f5b36024bc3f83a3631034ea4fa697\system-schema_columnfamilies-tmp-ka-5 org.apache.cassandra.io.FSWriteError: java.nio.file.FileSystemException: c:\temp\dtest-n95zao\test\node1\data\system\schema_columnfamilies-45f5b36024bc3f83a3631034ea4fa697\system-schema_columnfamilies-tmp-ka-5-Data.db: The process cannot access the file because it is being used by another process. at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:135) ~[main/:na] at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:121) ~[main/:na] at org.apache.cassandra.io.sstable.SSTable.delete(SSTable.java:108) ~[main/:na] at org.apache.cassandra.io.sstable.SSTableWriter.abort(SSTableWriter.java:363) ~[main/:na] at org.apache.cassandra.io.sstable.SSTableRewriter.abort(SSTableRewriter.java:236) [main/:na] at org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:220) [main/:na] at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) [main/:na] at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:73) [main/:na] at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59) [main/:na] at org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:236) [main/:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_45] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_45] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45] Caused by: java.nio.file.FileSystemException: c:\temp\dtest-n95zao\test\node1\data\system\schema_columnfamilies-45f5b36024bc3f83a3631034ea4fa697\system-schema_columnfamilies-tmp-ka-5-Data.db: The process cannot access the file because it is being used by another process. at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) ~[na:1.8.0_45] at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) ~[na:1.8.0_45] at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) ~[na:1.8.0_45] at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269) ~[na:1.8.0_45] at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) ~[na:1.8.0_45] at java.nio.file.Files.delete(Files.java:1126) ~[na:1.8.0_45] at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:131) ~[main/:na] ... 14 common frames omitted