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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • 2.1.6
    • None
    • None
    • cass 2.0.15

    • 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

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

              Dates

                Created:
                Updated:
                Resolved: