[ https://issues.apache.org/jira/browse/CASSANDRA-9071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14395195#comment-14395195 ]
Benedict commented on CASSANDRA-9071: ------------------------------------- Looking at the code, it appears that the bug that could be introduced there has been fixed. I suspect you may simply be providing zero mutations for a partition.... Can you post the code you're using to interact with it? > CQLSSTableWriter gives java.lang.AssertionError: Empty partition > ---------------------------------------------------------------- > > Key: CASSANDRA-9071 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9071 > Project: Cassandra > Issue Type: Bug > Components: Tools > Environment: java 7 / 8 > cassandra 2.1.3 snapshot build locally with last commit > https://github.com/apache/cassandra/commit/6ee4b0989d9a3ae3e704918622024fa57fdf63e7 > macos Yosemite 10.10.2 > Reporter: Ajit Joglekar > Assignee: Benedict > Fix For: 2.1.5 > > > I am always getting the following error: > Exception in thread "main" java.lang.AssertionError: Empty partition > at > org.apache.cassandra.io.sstable.SSTableSimpleUnsortedWriter$DiskWriter.run(SSTableSimpleUnsortedWriter.java:228) > It happens at a certain point that seems to be repeatable. Only issue is I am > converting 400 million records into multiple SSTables and creating small test > is a challenge > Last comment from Benedict looks relevant here > https://issues.apache.org/jira/browse/CASSANDRA-8619 > Is there a work around, quick fix, fix that I can try out locally? > Thanks, > -Ajit -- This message was sent by Atlassian JIRA (v6.3.4#6332)