cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Wang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-10673) The process cannot access the file because it is being used by another process
Date Sun, 08 Nov 2015 04:55:10 GMT
Kai Wang created CASSANDRA-10673:
------------------------------------

             Summary: The process cannot access the file because it is being used by another
process
                 Key: CASSANDRA-10673
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10673
             Project: Cassandra
          Issue Type: Bug
         Environment: DataStax Community 2.1.11, Windows 2008 R2, Java HotSpot(TM) 64-Bit
Server VM/1.8.0_65
            Reporter: Kai Wang


{noformat}
org.apache.cassandra.io.FSWriteError: java.nio.file.FileSystemException: d:\cassandra\data\aaa\bbb-436f21f0855111e58e1c6972136b9cc3\snapshots\2fe843e0-85d4-11e5-ae1a-ef38ce02f3df\aaa-bbb-ka-3073-Index.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) ~[apache-cassandra-2.1.11.jar:2.1.11]
	at org.apache.cassandra.io.util.FileUtils.deleteRecursive(FileUtils.java:381) ~[apache-cassandra-2.1.11.jar:2.1.11]
	at org.apache.cassandra.io.util.FileUtils.deleteRecursive(FileUtils.java:377) ~[apache-cassandra-2.1.11.jar:2.1.11]
	at org.apache.cassandra.db.Directories.clearSnapshot(Directories.java:647) ~[apache-cassandra-2.1.11.jar:2.1.11]
	at org.apache.cassandra.db.ColumnFamilyStore.clearSnapshot(ColumnFamilyStore.java:2451) ~[apache-cassandra-2.1.11.jar:2.1.11]
	at org.apache.cassandra.db.compaction.CompactionManager.doValidationCompaction(CompactionManager.java:1018)
~[apache-cassandra-2.1.11.jar:2.1.11]
	at org.apache.cassandra.db.compaction.CompactionManager.access$600(CompactionManager.java:94)
~[apache-cassandra-2.1.11.jar:2.1.11]
	at org.apache.cassandra.db.compaction.CompactionManager$9.call(CompactionManager.java:622)
~[apache-cassandra-2.1.11.jar:2.1.11]
	at java.util.concurrent.FutureTask.run(Unknown Source) ~[na:1.8.0_65]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_65]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_65]
	at java.lang.Thread.run(Unknown Source) [na:1.8.0_65]
Caused by: java.nio.file.FileSystemException: d:\cassandra\data\timeseries\symbol_group_history-436f21f0855111e58e1c6972136b9cc3\snapshots\2fe843e0-85d4-11e5-ae1a-ef38ce02f3df\timeseries-symbol_group_history-ka-3073-Index.db:
The process cannot access the file because it is being used by another process.

	at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) ~[na:1.8.0_65]
	at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) ~[na:1.8.0_65]
	at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) ~[na:1.8.0_65]
	at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source) ~[na:1.8.0_65]
	at sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source) ~[na:1.8.0_65]
	at java.nio.file.Files.delete(Unknown Source) ~[na:1.8.0_65]
	at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:131) ~[apache-cassandra-2.1.11.jar:2.1.11]
	... 11 common frames omitted

{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message