Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-9676

CQLSSTableWriter gives java.lang.AssertionError: Empty partition in C* 2.0.15

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Duplicate
    • Fix Version/s: 2.1.6
    • Component/s: None
    • Labels:
      None
    • Environment:

      cass 2.0.15

    • Severity:
      Normal

      Description

      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

       
          CQLSSTableWriter
            .builder()
            .inDirectory(createOutputDir())
            .forTable(metadata.schema)
            .using(insertStatement)
            .withBufferSizeInMB(128)
          .build()
      

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vkuptcov Vladimir Kuptsov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: