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 9666FD685 for ; Mon, 9 Jul 2012 16:23:35 +0000 (UTC) Received: (qmail 70313 invoked by uid 500); 9 Jul 2012 16:23:35 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 70278 invoked by uid 500); 9 Jul 2012 16:23:35 -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 70219 invoked by uid 99); 9 Jul 2012 16:23:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2012 16:23:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 11589141887 for ; Mon, 9 Jul 2012 16:23:35 +0000 (UTC) Date: Mon, 9 Jul 2012 16:23:35 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <1302077712.23741.1341851015072.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1680326356.9443.1335795529086.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-4195) error in log when upgrading multi-node cluster to 1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-4195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409607#comment-13409607 ] Jonathan Ellis commented on CASSANDRA-4195: ------------------------------------------- We *need* to support read/write ops in a mixed cluster. We don't need to support schema changes. > error in log when upgrading multi-node cluster to 1.1 > ----------------------------------------------------- > > Key: CASSANDRA-4195 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4195 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 1.1.0 > Environment: ccm, dtest. Ubuntu > Reporter: Tyler Patterson > Assignee: Pavel Yaskevich > > I upgraded a cluster from 1.0.9 to 1.1.0. The following message shows up in the logs for all but the first node. > {code} > ERROR [GossipStage:1] 2012-04-30 07:37:06,986 AbstractCassandraDaemon.java (line 139) Fatal exception in thread Thread[GossipStage:1,5,main] > java.lang.UnsupportedOperationException: Not a time-based UUID > at java.util.UUID.timestamp(UUID.java:331) > at org.apache.cassandra.service.MigrationManager.updateHighestKnown(MigrationManager.java:121) > at org.apache.cassandra.service.MigrationManager.rectify(MigrationManager.java:99) > at org.apache.cassandra.service.MigrationManager.onAlive(MigrationManager.java:83) > at org.apache.cassandra.gms.Gossiper.markAlive(Gossiper.java:806) > at org.apache.cassandra.gms.Gossiper.handleMajorStateChange(Gossiper.java:849) > at org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:908) > at org.apache.cassandra.gms.GossipDigestAck2VerbHandler.doVerb(GossipDigestAck2VerbHandler.java:62) > at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:59) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > {code} > this dtest demonstrates the issue. It was added to the cassandra-dtest repository as upgrade_to_11_test: > {code} > from dtest import Tester, debug > from tools import * > > class TestUpgradeTo1_1(Tester): > > def upgrade_test(self): > self.num_rows = 0 > cluster = self.cluster > > # Forcing cluster version on purpose > cluster.set_cassandra_dir(cassandra_version='1.0.9') > > cluster.populate(3).start() > time.sleep(1) > > for node in cluster.nodelist(): > node.flush() > time.sleep(.5) > node.stop(wait_other_notice=True) > node.set_cassandra_dir(cassandra_version='1.1.0') > node.start(wait_other_notice=True) > time.sleep(.5) > {code} -- 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