Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6D11818812 for ; Mon, 29 Jun 2015 16:26:05 +0000 (UTC) Received: (qmail 46697 invoked by uid 500); 29 Jun 2015 16:26:05 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 46665 invoked by uid 500); 29 Jun 2015 16:26:05 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 46653 invoked by uid 99); 29 Jun 2015 16:26:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2015 16:26:05 +0000 Date: Mon, 29 Jun 2015 16:26:05 +0000 (UTC) From: "Philip Thompson (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CASSANDRA-9676) CQLSSTableWriter gives java.lang.AssertionError: Empty partition in C* 2.0.15 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-9676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philip Thompson resolved CASSANDRA-9676. ---------------------------------------- Resolution: Duplicate Fix Version/s: (was: 2.0.x) 2.1.6 > 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)