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

Philip Thompson commented on CASSANDRA-9676:
--------------------------------------------

[~vkuptcov], you'll need to upgrade to 2.1.6 or higher to avoid this bug.

> CQLSSTableWriter gives java.lang.AssertionError: Empty partition in C* 2.0.15
> -----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-9676
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9676
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: cass 2.0.15
>            Reporter: Vladimir Kuptsov
>             Fix For: 2.1.6
>
>
> I've the same issue as described in 
> https://issues.apache.org/jira/browse/CASSANDRA-9071
> As I can understand it happens during the buffer flush, which size regulated 
> by the withBufferSizeInMB() method call in
> {code} 
>     CQLSSTableWriter
>       .builder()
>       .inDirectory(createOutputDir())
>       .forTable(metadata.schema)
>       .using(insertStatement)
>       .withBufferSizeInMB(128)
>     .build()
> {code}
> For example, when I use 128 Mb buffer, it fails after 210 000 csv lines 
> processed. On 3Mb buffer it fails after 10 000 lines.



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

Reply via email to