cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcin Pietraszek (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9623) Added column does not sort as the last column
Date Mon, 22 Jun 2015 11:23:00 GMT

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

Marcin Pietraszek commented on CASSANDRA-9623:
----------------------------------------------

{noformat}
DESCRIBE TABLE "Histograms_monthly";

CREATE TABLE "Histograms_monthly" (
  key text,
  bucket_size bigint,
  value bigint,
  PRIMARY KEY ((key), bucket_size)
) WITH COMPACT STORAGE AND
  bloom_filter_fp_chance=0.100000 AND
  caching='KEYS_ONLY' AND
  comment='' AND
  dclocal_read_repair_chance=0.000000 AND
  gc_grace_seconds=864000 AND
  index_interval=512 AND
  read_repair_chance=0.050000 AND
  replicate_on_write='true' AND
  populate_io_cache_on_flush='false' AND
  default_time_to_live=0 AND
  speculative_retry='99.0PERCENTILE' AND
  memtable_flush_period_in_ms=0 AND
  compaction={'sstable_size_in_mb': '256', 'class': 'LeveledCompactionStrategy'} AND
  compression={'sstable_compression': 'DeflateCompressor'};
{noformat}

> Added column does not sort as the last column
> ---------------------------------------------
>
>                 Key: CASSANDRA-9623
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9623
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Marcin Pietraszek
>
> After adding new machines to existing cluster running cleanup one of the tables ends
with:
> {noformat}
> ERROR [CompactionExecutor:1015] 2015-06-19 11:24:05,038 CassandraDaemon.java (line 199)
Exception in thread Thread[CompactionExecutor:1015,1,main]
> java.lang.AssertionError: Added column does not sort as the last column
>         at org.apache.cassandra.db.ArrayBackedSortedColumns.addColumn(ArrayBackedSortedColumns.java:116)
>         at org.apache.cassandra.db.ColumnFamily.addColumn(ColumnFamily.java:121)
>         at org.apache.cassandra.db.ColumnFamily.addAtom(ColumnFamily.java:155)
>         at org.apache.cassandra.io.sstable.SSTableIdentityIterator.getColumnFamilyWithColumns(SSTableIdentityIterator.java:186)
>         at org.apache.cassandra.db.compaction.PrecompactedRow.merge(PrecompactedRow.java:98)
>         at org.apache.cassandra.db.compaction.PrecompactedRow.<init>(PrecompactedRow.java:85)
>         at org.apache.cassandra.db.compaction.CompactionController.getCompactedRow(CompactionController.java:196)
>         at org.apache.cassandra.db.compaction.CompactionIterable$Reducer.getReduced(CompactionIterable.java:74)
>         at org.apache.cassandra.db.compaction.CompactionIterable$Reducer.getReduced(CompactionIterable.java:55)
>         at org.apache.cassandra.utils.MergeIterator$ManyToOne.consume(MergeIterator.java:115)
>         at org.apache.cassandra.utils.MergeIterator$ManyToOne.computeNext(MergeIterator.java:98)
>         at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
>         at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
>         at org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:161)
>         at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
>         at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:60)
>         at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59)
>         at org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionTask.run(CompactionManager.java:198)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> {noformat}
> We're using patched 2.0.13-190ef4f



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

Mime
View raw message