Details
-
Sub-task
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
Description
http://cassci.datastax.com/view/cassandra-2.2/job/cassandra-2.2_dtest_win32/85/testReport/
http://cassci.datastax.com/job/cassandra-3.0_dtest_win32/51/testReport/
As you can see, most/all of the new upgrade tests added are failing on windows 2.2 and 3.0. We have edited these tests to filter out log errors that occur on 2.1, prior to the upgrade.
There are more than a few errors, and they all deal with filesystem issues.
Example stacktrace:
Unexpected error in node2 node log: ['ERROR [NonPeriodicTasks:1] 2015-09-07 19:00:56,411 Ref.java:277 - Error when closing class org.apache.cassandra.io.sstable.SSTableReader$DescriptorTypeTidy@276557998:d:\\temp\\dtest-imqwvt\\test\\node2\\data\\system\\schema_keyspaces-b0f2235744583cdb9631c43e59ce3676\\system-schema_keyspaces-ka-2 org.apache.cassandra.io.FSWriteError: java.nio.file.FileSystemException: d:\\temp\\dtest-imqwvt\\test\\node2\\data\\system\\schema_keyspaces-b0f2235744583cdb9631c43e59ce3676\\system-schema_keyspaces-ka-2-Index.db: The process cannot access the file because it is being used by another process. \tat org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:135) ~[main/:na] \tat org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:121) ~[main/:na] \tat org.apache.cassandra.io.sstable.SSTable.delete(SSTable.java:114) ~[main/:na] \tat org.apache.cassandra.io.sstable.SSTableDeletingTask.run(SSTableDeletingTask.java:90) ~[main/:na] \tat org.apache.cassandra.io.sstable.SSTableReader$DescriptorTypeTidy.tidy(SSTableReader.java:2301) ~[main/:na] \tat org.apache.cassandra.utils.concurrent.Ref$GlobalState.release(Ref.java:273) ~[main/:na] \tat org.apache.cassandra.utils.concurrent.Ref$State.release(Ref.java:175) [main/:na] \tat org.apache.cassandra.utils.concurrent.Ref.release(Ref.java:75) [main/:na] \tat org.apache.cassandra.io.sstable.SSTableReader$InstanceTidier$1.run(SSTableReader.java:2233) [main/:na] \tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_51] \tat java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_51] \tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_51] \tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_51] \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_51] \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_51] \tat java.lang.Thread.run(Thread.java:745) [na:1.8.0_51] Caused by: java.nio.file.FileSystemException: d:\\temp\\dtest-imqwvt\\test\\node2\\data\\system\\schema_keyspaces-b0f2235744583cdb9631c43e59ce3676\\system-schema_keyspaces-ka-2-Index.db: The process cannot access the file because it is being used by another process. \tat sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) ~[na:1.8.0_51] \tat sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) ~[na:1.8.0_51] \tat sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) ~[na:1.8.0_51] \tat sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269) ~[na:1.8.0_51] \tat sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) ~[na:1.8.0_51] \tat java.nio.file.Files.delete(Files.java:1126) ~[na:1.8.0_51] \tat org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:131) ~[main/:na] \t... 15 common frames omitted ERROR