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

Joshua McKenzie commented on CASSANDRA-10210:
---------------------------------------------

Is it possible we have a latent bug in the system where either a) we forgot to 
unmap a direct buffer or b) we're keeping a direct buffer around for recycling 
and it's going to bite us in the ass on Windows in the future? 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

> 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