You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Joshua McKenzie (JIRA)" <ji...@apache.org> on 2014/09/11 22:13:34 UTC

[jira] [Comment Edited] (CASSANDRA-7463) Update CQLSSTableWriter to allow parallel writing of SSTables on the same table within the same JVM

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

Joshua McKenzie edited comment on CASSANDRA-7463 at 9/11/14 8:13 PM:
---------------------------------------------------------------------

NTFS is pretty picky about deleting files when you still have handles open to them (especially pre-nio non/FileChannel days - see CASSANDRA-4050).  We rewrote that for the RAR but didn't touch CommitLogSegments - I haven't dug into the patch here but that might be related to the error you're seeing.

I'd rule out this being a timing issue w/the test and file access first.

Edit: functioning under the assumption you're running this test on Windows, of course.  :)


was (Author: joshuamckenzie):
NTFS is pretty picky about deleting files when you still have handles open to them (especially pre-nio non/FileChannel days - see CASSANDRA-4050).  We rewrote that for the RAR but didn't touch CommitLogSegments - I haven't dug into the patch here but that might be related to the error you're seeing.

I'd rule out this being a timing issue w/the test and file access first.

> Update CQLSSTableWriter to allow parallel writing of SSTables on the same table within the same JVM
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-7463
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7463
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johnny Miller
>            Assignee: Carl Yeksigian
>             Fix For: 2.0.11
>
>         Attachments: 7463.patch
>
>
> Currently it is not possible to programatically write multiple SSTables for the same table in parallel using the CQLSSTableWriter. This is quite a limitation and the workaround of attempting to do this in a separate JVM is not a great solution.
> See: http://stackoverflow.com/questions/24396902/using-cqlsstablewriter-concurrently



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