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 686FA10FFF for ; Wed, 20 Nov 2013 14:45:36 +0000 (UTC) Received: (qmail 98679 invoked by uid 500); 20 Nov 2013 14:45:35 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 98654 invoked by uid 500); 20 Nov 2013 14:45:34 -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 98542 invoked by uid 99); 20 Nov 2013 14:45:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Nov 2013 14:45:31 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_NONE,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcdcu-cassandra-user-1@m.gmane.org designates 80.91.229.3 as permitted sender) Received: from [80.91.229.3] (HELO plane.gmane.org) (80.91.229.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Nov 2013 14:45:24 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vj91b-0000Td-Db for user@cassandra.apache.org; Wed, 20 Nov 2013 15:45:03 +0100 Received: from 159.50.249.150 ([159.50.249.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Nov 2013 15:45:03 +0100 Received: from jonathan.bonnet by 159.50.249.150 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Nov 2013 15:45:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: user@cassandra.apache.org From: Bonnet Jonathan. Subject: Migration Cassandra 2.0 to Cassandra 2.0.2 Date: Wed, 20 Nov 2013 13:44:57 +0000 (UTC) Lines: 70 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 159.50.249.150 (Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.5) Gecko/20100101 20000523 Firefox/10.0.5) X-Virus-Checked: Checked by ClamAV on apache.org Hello, I met some problems during an upgrade version, my source is Cassandra 2.0 and my target is Cassandra 2.0.2. My cluster have 3 nodes in the same datacenter, and i will upgrade them one by one. So i Deploy the binaries of the new version, and configure my cassandra.yaml with the same informations as before. I also make an environnement file like this one (a copy of the old one): export PATH=$PATH:/produits/cassandra/install_cassandra/jre1.7.0_25/bin: /produits/cassandra/install_cassandra/jre1.7.0_25/lib: /produits/cassandra/install_cassandra/apache-cassandra-2.0.2/bin: /produits/cassandra/install_cassandra/apache-cassandra-2.0.2/lib: /produits/cassandra/install_opscenter/opscenter-3.2.0/bin: /produits/cassandra/install_opscenter/opscenter-3.2.0/agent: /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin export JAVA_HOME=/produits/cassandra/install_cassandra/jre1.7.0_25 export CASSANDRA_HOME=/produits/cassandra/install_cassandra/apache-cassandra-2.0.2 export JVM_OPTS=-Dorg.xerial.snappy.tempdir=/produits/cassandra/snappy Nothing change in this 2 files except the new home for Cassandra, i keep the same DATA_FILE_DIRECTORIES,commitlog_directory and saved_caches_directory, same cluster name and same cassandra-topology.properties. I just have change my log4j.appender.R.File=/produits/cassandra/system_log.log in log4j-server.properties. So on the first node i used these commands: nodetool –h 10.250.176.128 disablegossip nodetool –h 10.250.176.128 disablethrift nodetool -h 10.250.176.128 snapshot nodetool -h 10.250.176.128 drain cassandra stop I also comment the num_tokens cause i use vnodes, and decomment initial_token and let a blank for this parameter. Next i load my new environement files, all variables seems correct but when i try to start the node i had these errors. [cassandra@s00vl9925761 conf]$ Error: Could not find or load main class org.apache.cassandra.service.CassandraDaemon I search on the net, and all forums which speak about this error tell me that i have problem with my environment variables. But my variables are all looking good, so i really need help on this. When i come back to the older version, cassandra always start without problems. Thanks.