[ 
https://issues.apache.org/jira/browse/CASSANDRA-10210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14723638#comment-14723638
 ] 

Paulo Motta commented on CASSANDRA-10210:
-----------------------------------------

bq. While I think the patch will fix the utest issue my fear is that there's 
actually something wrong w/the code-base on Windows that this utest is 
uncovering

+1, since I cannot reproduce it locally while it fails quite consistenly on CI, 
I propose we commit this workaround temporarily without resolving the issue to 
confirm/deny the hypothesis of JVM bug, and based on the results we can perform 
a more detailed investigation against a) and b).

> Windows utest 3.0: 
> org.apache.cassandra.io.sstable.SSTableLoaderTest.testLoadingIncompleteSSTable
> -------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-10210
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10210
>             Project: Cassandra
>          Issue Type: Sub-task
>            Reporter: Philip Thompson
>            Assignee: Paulo Motta
>              Labels: Windows
>             Fix For: 3.0.x
>
>
> {{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 
> {code}
> 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)
> {code}



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

Reply via email to