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 260F7C1AB for ; Mon, 2 Jul 2012 22:20:01 +0000 (UTC) Received: (qmail 98560 invoked by uid 500); 2 Jul 2012 22:19:59 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 98430 invoked by uid 500); 2 Jul 2012 22:19:59 -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 98369 invoked by uid 99); 2 Jul 2012 22:19:59 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2012 22:19:59 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id E3DA2142852 for ; Mon, 2 Jul 2012 22:19:58 +0000 (UTC) Date: Mon, 2 Jul 2012 22:19:58 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <165887987.108.1341267598937.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (CASSANDRA-4403) cleanup uses global partitioner to estimate ranges in index sstables MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jonathan Ellis created CASSANDRA-4403: ----------------------------------------- Summary: cleanup uses global partitioner to estimate ranges in index sstables Key: CASSANDRA-4403 URL: https://issues.apache.org/jira/browse/CASSANDRA-4403 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 1.1.1 Reporter: Jonathan Ellis Priority: Minor Fix For: 1.1.3 Introduced in CASSANDRA-1404, CleanupTest is showing this on trunk (on stderr, so test doesn't actually fail): {noformat} [junit] java.lang.ClassCastException: org.apache.cassandra.dht.Token$KeyBound cannot be cast to org.apache.cassandra.dht.Token [junit] at org.apache.cassandra.dht.LocalToken.compareTo(LocalToken.java:24) [junit] at org.apache.cassandra.dht.Range$1.compare(Range.java:386) [junit] at org.apache.cassandra.dht.Range$1.compare(Range.java:383) [junit] at java.util.Arrays.mergeSort(Arrays.java:1270) [junit] at java.util.Arrays.sort(Arrays.java:1210) [junit] at java.util.Collections.sort(Collections.java:159) [junit] at org.apache.cassandra.dht.Range.normalize(Range.java:382) [junit] at org.apache.cassandra.io.sstable.SSTableReader.getSampleIndexesForRanges(SSTableReader.java:570) [junit] at org.apache.cassandra.io.sstable.SSTableReader.estimatedKeysForRanges(SSTableReader.java:549) [junit] at org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.getNextBackgroundTask(SizeTieredCompactionStrategy.java:111) [junit] at org.apache.cassandra.db.compaction.CompactionManager$1.runMayThrow(CompactionManager.java:136) [junit] at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:26) [junit] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [junit] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [junit] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [junit] at java.lang.Thread.run(Thread.java:662) {noformat} This doesn't happen on the 1.1 branch (less robust test?) but the problem is still there. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira