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 666EB200D5A for ; Thu, 14 Dec 2017 12:09:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 64F57160C04; Thu, 14 Dec 2017 11:09:05 +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 830A1160C01 for ; Thu, 14 Dec 2017 12:09:04 +0100 (CET) Received: (qmail 80262 invoked by uid 500); 14 Dec 2017 11:09:02 -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 80252 invoked by uid 99); 14 Dec 2017 11:09:02 -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, 14 Dec 2017 11:09:02 +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 419111A1272 for ; Thu, 14 Dec 2017 11:09:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.1 X-Spam-Level: X-Spam-Status: No, score=0.1 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id cV-qr35bhg7t for ; Thu, 14 Dec 2017 11:09:01 +0000 (UTC) Received: from mail-wr0-f174.google.com (mail-wr0-f174.google.com [209.85.128.174]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id D52145F367 for ; Thu, 14 Dec 2017 11:09:00 +0000 (UTC) Received: by mail-wr0-f174.google.com with SMTP id h1so4775325wre.12 for ; Thu, 14 Dec 2017 03:09:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to; bh=9vAo/IMfLjdBSl+yUi/tctgUyM2R2NCSvJdJIk9GT0k=; b=u8AyU94xVJNZy9pt/ahdm5vrfSvP5SXSnkTpRZr2igKfQtCeKsUM3hvRkOfpc5NwPP qmaQugAJqfBAjmNDJpU8Q7ctc++WiBaHUUCHZ8NjzkrrCoxVvjWzrnNMmA7/gavGuspo 9t9iq3WCYnAuGpPXzC3QbP8mbewk8TGpRii58lFXrZt2VMi0HtT6xNtOH6/A1PfM+c9t oCK6tIsIQTFXGrytJiWCgnGnLMtL8ML6/B4wfwPyFpBhWhfiB6hAx4cq+8ZznqEf3+HF H13eOyRiZUZEFKI3PebEmRBpniXdwoLSq6yNFmE7uGNvoh+285ZFuON4H8g3r/RiqupJ FewA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to; bh=9vAo/IMfLjdBSl+yUi/tctgUyM2R2NCSvJdJIk9GT0k=; b=n7j7sBqUCZDsn40rXwDLcRopx5FjRWdUWnyKdKt/ZaEbIPyt4O0WVC4//pRAtcmdu9 GJDfZCl1sO+t8pumgThrs1a9T3zYivEur09aKYEk8s+jxyLrPDSXfuk8RAf7VVXJiYRQ 0HoZm/9lhk3Hw5TIKIJnqVlny2IFAU1aRSqnj+tiOuxOVTpJkrI4cg70YZZYvub21UOU Mtnp5xOXn7vBDaplHxfthmsokZAhibRYBpL6CL5Ve097PwTtcxv0sBdBc/IABOmX2ptN GenXWJpQhqJJJXkmZX7KNQaLDGjH9GXi5pOtFCKsAEeP/UXqWS9JdOSrdAkJPHlM4L30 EF5w== X-Gm-Message-State: AKGB3mKtMU4JeAL3RUDtQtRX3dtl/M+HSa7pJ37fuvNs+yQxBjN25GRJ Rfp4yoVL89mPxlWFa+FMBjsdGtajjgM/TGjBYIQ= X-Google-Smtp-Source: ACJfBoumme3SOS6z53EGiHUCjhCPF0QE9KFTk3X5dLxZ53udzTjXtE6IByg8OMGoUGsCMR1shanwD2tPXtX01KNipyI= X-Received: by 10.223.142.49 with SMTP id n46mr5400374wrb.279.1513249734293; Thu, 14 Dec 2017 03:08:54 -0800 (PST) Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Thu, 14 Dec 2017 06:08:53 -0500 From: =?UTF-8?Q?Hannu_Kr=C3=B6ger?= In-Reply-To: References: X-Mailer: Airmail (467) MIME-Version: 1.0 Date: Thu, 14 Dec 2017 06:08:53 -0500 Message-ID: Subject: Re: Upgrade using rebuild To: Anshu Vajpayee , user@cassandra.apache.org Content-Type: multipart/alternative; boundary="f403045f57bade7fa505604ae8a9" archived-at: Thu, 14 Dec 2017 11:09:05 -0000 --f403045f57bade7fa505604ae8a9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If you want to do a version upgrade, you need to basically do follow node by node: 0) stop repairs 1) make sure your sstables are at the latest version (nodetool upgradesstables can do it) 2) stop cassandra 3) update cassandra software and update cassandra.yaml and cassandra-env.sh files 4) start cassandra After all nodes are up, run =E2=80=9Cnodetool upgradesstables=E2=80=9D on e= ach node to update your sstables to the latest version. Also please note that when you upgrade, you need to upgrade only between compatible versions. E.g. 2.2.x -> 3.0.x but not 1.2 to 3.11 Cheers, Hannu On 14 December 2017 at 12:33:49, Anshu Vajpayee (anshu.vajpayee@gmail.com) wrote: Hi - Is it possible to upgrade a cluster ( DC wise) using nodetool rebuild ? -- *C*heers,* *Anshu V* --f403045f57bade7fa505604ae8a9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable = If you want to do a = version upgrade, you need to basically do follow node by node:

0) stop repairs
1) make sure your sstables are= at the latest version (nodetool upgradesstables can do it)
2) stop c= assandra
3) update cassandra software and update cassandra.yaml and cas= sandra-env.sh files
4) start cassandra

A= fter all nodes are up, run =E2=80=9Cnodetool upgradesstables=E2=80=9D on ea= ch node to update your sstables to the latest version.

=
Also please note that when you upgrade, you need to upgrade only betwe= en compatible versions.

E.g. 2.2.x -> 3.0.x =C2= =A0but not 1.2 to 3.11

Cheers,
--f403045f57bade7fa505604ae8a9--