Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-10095 Fix dtests on 3.0 branch on Windows
  3. CASSANDRA-10210

Windows utest 3.0: org.apache.cassandra.io.sstable.SSTableLoaderTest.testLoadingIncompleteSSTable

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • 3.0.0 rc1
    • None

    Description

      org.apache.cassandra.io.sstable.SSTableLoaderTest.testLoadingIncompleteSSTable is failing on 3.0-head. See http://cassci.datastax.com/job/cassandra-3.0_utest_win32/29/testReport/

      Stack trace is

      FSWriteError in D:\temp\1440702015716-0\SSTableLoaderTest\Standard2\ma-1-big-Data.db
      	at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:136)
      	at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:153)
      	at org.apache.cassandra.io.util.FileUtils.deleteRecursive(FileUtils.java:440)
      	at org.apache.cassandra.io.util.FileUtils.deleteRecursive(FileUtils.java:436)
      	at org.apache.cassandra.io.util.FileUtils.deleteRecursive(FileUtils.java:436)
      	at org.apache.cassandra.io.util.FileUtils.deleteRecursive(FileUtils.java:436)
      	at org.apache.cassandra.io.sstable.SSTableLoaderTest.cleanup(SSTableLoaderTest.java:83)
      Caused by: java.nio.file.AccessDeniedException: D:\temp\1440702015716-0\SSTableLoaderTest\Standard2\ma-1-big-Data.db
      	at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
      	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
      	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
      	at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
      	at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
      	at java.nio.file.Files.delete(Files.java:1126)
      	at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:130)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              philipthompson Philip Thompson
              Joshua McKenzie
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: