Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C1D01200BC2 for ; Thu, 17 Nov 2016 13:51:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BB4E8160B0B; Thu, 17 Nov 2016 12:51:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DF17B160AFF for ; Thu, 17 Nov 2016 13:51:06 +0100 (CET) Received: (qmail 92225 invoked by uid 500); 17 Nov 2016 12:51:05 -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 92215 invoked by uid 99); 17 Nov 2016 12:51:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2016 12:51:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 50D681A0397 for ; Thu, 17 Nov 2016 12:51:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.381 X-Spam-Level: ** X-Spam-Status: No, score=2.381 tagged_above=-999 required=6.31 tests=[AC_DIV_BONANZA=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id W1PNqYjdwljw for ; Thu, 17 Nov 2016 12:51:01 +0000 (UTC) Received: from mail-ua0-f170.google.com (mail-ua0-f170.google.com [209.85.217.170]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 6AD995F297 for ; Thu, 17 Nov 2016 12:51:01 +0000 (UTC) Received: by mail-ua0-f170.google.com with SMTP id 12so141473283uas.2 for ; Thu, 17 Nov 2016 04:51:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=A30EQSGxLQpuqiaDhVr6SfZX7ruAQSfSnXMaWLuXDaQ=; b=N3m7fYPk3bwh8LLAQj60doe8wo5aSW+dXz0RDs3pZ70d6jsH84II53ax0hlMWAEUzX 1zYo39/JgFcIOAjpyaUEfeeNbnh9bv2plgV6/TiidLW5VLo0rAq0flAZsBv1cMo1li4h ovFAq1CuOZ+A06ewjOeJBGuBBq/D1ZgHmjlIqQCmYQ5LoGUUrva5fsJgr4Jc7thaGXXE QL74hZ9WIJoV86Il4kZ9dDOT660ZmHop/OZG5aandv2ZXx/SgC6uIirxXqN7VkNz0bSy fnUuubnFH0vYtsA81b+oUfcDa/v9aMgDbOH7r/HvBjuacLeFFxiOSCTcG/9NtLT/pRX5 eDiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=A30EQSGxLQpuqiaDhVr6SfZX7ruAQSfSnXMaWLuXDaQ=; b=Np8Fm28z+9ER29kzaTEp7tSB2XnPjEFcfUjHKbyLUW26/95Lw2Zn8Y0jnhp6UYx8lm ODaXt0Tm6CLFHjs0xwsO5zsZBhOEoK6fk31lhVaCHegrGQT+UwZWtgLXAlFJrCZDPvfk EVJ4xXoVdQp+npzjIWXWtNHSpJsML8RjtI7cmqmmAzthfwMbAfy9JGxqFmMmxMODu5KI iGPpefjIUrrS/Q4zmic/thT87i5Y6m+heAAp+ovKEkfS5jgXy6BV1uKnUgY2w7UCRLZW NuSXmBzzc7vVdGTgiUUJ0TexWCbFngcF5G85DX3jgwY1NHTY5sBMFeEZJ6QblBHJsIYQ +2YA== X-Gm-Message-State: ABUngve+CcYxRXQ1oQYDc3hHQxCMjqQD084JgIcl/804+2Y8HeXX/u5zW8dK4onDft1jMqdW0QVlnND0TusVkw== X-Received: by 10.176.69.171 with SMTP id u40mr1587849uau.24.1479387060203; Thu, 17 Nov 2016 04:51:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.122.146 with HTTP; Thu, 17 Nov 2016 04:50:59 -0800 (PST) In-Reply-To: References: From: Fabrice Facorat Date: Thu, 17 Nov 2016 13:50:59 +0100 Message-ID: Subject: Re: Can nodes in c* cluster run different versions ? To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=94eb2c11c0803576b605417ea4e8 archived-at: Thu, 17 Nov 2016 12:51:07 -0000 --94eb2c11c0803576b605417ea4e8 Content-Type: text/plain; charset=UTF-8 As said already by Alain you should make this as short as possible: - streaming operations won't work (repair, bootstrap) - Hinted Handoff won't work as 2 differents major version of cassandra can't shared the same schema version - So no DDL operations (CREATE/ALTER) as you change won't be propagated you don't need to wait for the end of "nodetool upgradesstable" to upgrade next node: this can be done after you upgrade all nodes and satrt as an asynchronous planified job. My take on this: - disable repairs - backup date and especially system table on all nodes - upgrade 1 node on DC1 - if everything is fine, rolling upgrade all nodes on DC1 - ensure that everything is working (you can still rollback at this point by rebuild entirely DC1 if something is wrong or restore previous cassandra version with previous backup files) - once you are confident enough, upgrade DC2 - when done, schedule upgradesstables and try to spread upgradesstable throughout your DC and racks if you don't want to impact your read latency too much - once finished, reenable repairs 2016-11-16 11:12 GMT+01:00 techpyaasa . : > Hi all, > > We are currently running c*-2.0.17 with 2 datacenters each with 18 nodes. > > We like to upgrade to c*-2.1.16. Can we upgrade first all nodes(one by > one) in one dc and then go to next data center. > > As it might take few days as it will have 'upgrade sstables' , so just > wanted to know would be there any possibility during this mismatch of c* > version among nodes in cluster during this upgrade process? > > Thanks > Techpyaasa > -- Close the World, Open the Net http://www.linux-wizard.net --94eb2c11c0803576b605417ea4e8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
As = said already by Alain you should make this as short as possible:
-= streaming operations won't work (repair, bootstrap)
- Hinted = Handoff won't work as 2 differents major version of cassandra can't= shared the same schema version
- So no DDL operations (CREATE/ALT= ER) as you change won't be propagated

you don't need t= o wait for the end of "nodetool upgradesstable" to upgrade next n= ode: this can be done after you upgrade all nodes and satrt as an asynchron= ous planified job.

My take on this:
- disable re= pairs
- backup date and especially system table on all nodes<= br>
- upgrade 1 node on DC1
- if everything is fine, rolling = upgrade all nodes on DC1
- ensure that everything is working (you = can still rollback at this point by rebuild entirely DC1 if something is wr= ong or restore previous cassandra version with previous backup files)
- once you are confident enough, upgrade DC2
- when done, sche= dule upgradesstables and try to spread upgradesstable throughout your DC an= d racks if you don't want to impact your read latency too much
- once finished, reenable repairs



<= /div>

2016-11-16 1= 1:12 GMT+01:00 techpyaasa . <techpyaasa@gmail.com>:
Hi all,

We are current= ly running c*-2.0.17 with 2 datacenters each with 18 nodes.

We like = to upgrade to c*-2.1.16. Can we upgrade first all nodes(one by one) in one = dc and then go to next data center.

As it might take few days as it = will have 'upgrade sstables' , so just wanted to know would be ther= e any possibility during this mismatch of c* version among nodes in cluster= during this upgrade process?

Thanks
Techpyaasa



--
Close the World, Open the Nethttp://www.linux= -wizard.net
--94eb2c11c0803576b605417ea4e8--