Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4726D9E33 for ; Tue, 25 Sep 2012 20:14:01 +0000 (UTC) Received: (qmail 41028 invoked by uid 500); 25 Sep 2012 20:13:58 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 41000 invoked by uid 500); 25 Sep 2012 20:13:58 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 40990 invoked by uid 99); 25 Sep 2012 20:13:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 20:13:58 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.174.58.133] (HELO XEDGEB.nrel.gov) (192.174.58.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 20:13:51 +0000 Received: from XHUBA.nrel.gov (10.20.4.58) by XEDGEB.nrel.gov (192.174.58.133) with Microsoft SMTP Server (TLS) id 8.3.245.1; Tue, 25 Sep 2012 14:13:27 -0600 Received: from MAILBOX2.nrel.gov ([fe80::19a0:6c19:6421:12f]) by XHUBA.nrel.gov ([::1]) with mapi; Tue, 25 Sep 2012 14:13:30 -0600 From: "Hiller, Dean" To: "user@cassandra.apache.org" Date: Tue, 25 Sep 2012 14:13:28 -0600 Subject: is this a cassandra bug? Thread-Topic: is this a cassandra bug? Thread-Index: Ac2bWjqD6cWrW1EWTiCxiP7qqYMQEg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.3.120616 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org This is cassandra 1.1.4 Describe shows DecimalType and I test setting comparator TOOOOO the Decimal= Type and it fails (Realize I have never touched this column family until n= ow except for posting data which succeeded) [default@unknown] use databus; Authenticated to keyspace: databus [default@databus] describe bacnet9800AnalogInput9; ColumnFamily: bacnet9800AnalogInput9 Key Validation Class: org.apache.cassandra.db.marshal.DecimalType Default column value validator: org.apache.cassandra.db.marshal.Bytes= Type Columns sorted by: org.apache.cassandra.db.marshal.UTF8Type GC grace seconds: 864000 Compaction min/max thresholds: 4/32 Read repair chance: 0.1 DC Local Read repair chance: 0.0 Replicate on write: true Caching: KEYS_ONLY Bloom Filter FP chance: default Built indexes: [] Compaction Strategy: org.apache.cassandra.db.compaction.SizeTieredCom= pactionStrategy Compression Options: sstable_compression: org.apache.cassandra.io.compress.SnappyCompres= sor [default@databus] update column family bacnet9800AnalogInput9 with comparat= or =3D DecimalType; org.apache.thrift.transport.TTransportException [default@databus] Exception from system.log from the node in the cluster is ERROR [MigrationStage:1] 2012-09-25 14:11:20,327 AbstractCassandraDaemon.ja= va (line 134) Exception in thread Thread[MigrationStage:1,5,main] java.lang.RuntimeException: java.io.IOException: org.apache.cassandra.confi= g.ConfigurationException: comparators do not match or are not compatible. at org.apache.cassandra.utils.FBUtilities.unchecked(FBUtilities.java:628) at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto= r.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja= va:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: org.apache.cassandra.config.ConfigurationEx= ception: comparators do not match or are not compatible. at org.apache.cassandra.config.CFMetaData.reload(CFMetaData.java:676) at org.apache.cassandra.db.DefsTable.updateColumnFamily(DefsTable.java:463) at org.apache.cassandra.db.DefsTable.mergeColumnFamilies(DefsTable.java:407= ) at org.apache.cassandra.db.DefsTable.mergeSchema(DefsTable.java:271) at org.apache.cassandra.db.DefsTable.mergeRemoteSchema(DefsTable.java:249) at org.apache.cassandra.db.DefinitionsUpdateVerbHandler$1.runMayThrow(Defin= itionsUpdateVerbHandler.java:48) at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30) ... 6 more Caused by: org.apache.cassandra.config.ConfigurationException: comparators = do not match or are not compatible. at org.apache.cassandra.config.CFMetaData.apply(CFMetaData.java:705) at org.apache.cassandra.config.CFMetaData.reload(CFMetaData.java:672) ... 12 more