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 88E0610857 for ; Mon, 30 Dec 2013 09:46:50 +0000 (UTC) Received: (qmail 14977 invoked by uid 500); 30 Dec 2013 09:45:58 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 13333 invoked by uid 500); 30 Dec 2013 09:45:53 -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 13159 invoked by uid 99); 30 Dec 2013 09:45:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Dec 2013 09:45:43 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of katriel@google.com designates 209.85.219.51 as permitted sender) Received: from [209.85.219.51] (HELO mail-oa0-f51.google.com) (209.85.219.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Dec 2013 09:45:36 +0000 Received: by mail-oa0-f51.google.com with SMTP id i7so11752103oag.38 for ; Mon, 30 Dec 2013 01:45:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=FU+pyYTBgxH4Ruw5WiGNG+ftmJrgpdgGsSVIvWIc+hY=; b=TuG0dHHg3pjU94CCpMXSu/opAgyFvHPcWZdo2FQi+J2a1v8sn9usXc7GIAp2ZHDl70 8n9znfprHhOLVJCwrYYa9R3P7XWXYstrEXdG89LFkrlGYjnqhAadIbFB7/Gh4lD7qzdm +S+GBRSStM8PcmH9meGGq9o/LVaboOr7EGBprQjB/0q/ce9dvwn91FqZFmb6yjuNtArD VTs+90DtOGeP4yi6soZ7vf9up2161d6PGMWrxCQRRHzQf7bOVfWS9dIMtEMd2dLd3Mjd qgl+f30lP9GWuWv8CBWYT9C4XDkohh8oy/3OzfqleDY92CK+Q4OD/YSeUGDrryvvsz3a yqCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=FU+pyYTBgxH4Ruw5WiGNG+ftmJrgpdgGsSVIvWIc+hY=; b=P2asOv09mr2VCFOsZtQrSv1x2XGJnQ3gCNO4IlAwpsETPDCqxCJ7m3dWr5Smc5j77O HzhnD+e2ApzaLZ4h3HsBe5gmw4D23dCluSCUmItbHAeJXMOicGNRKhjC2lvJxK0eUXyz YhIv7P+rR/hgCvyMsQx18e7vFBXeKsMtUN3fruIsxi6201uBuTjV138RmPmVlbr17rVC RCw1LxQlBF1jdHf8gtUq9gWj1y/miOxAw0eEp9HU/0iyiWewHS+RXt6CsKw6IKC6v6yY ssx7iPEzfmkbjqJoen5CH200RJUb5Ds5X0XwieN7DU2/ESAleih/ujJRLXxpd/e6YxkX pOCw== X-Gm-Message-State: ALoCoQmSwI0ao+gzCFejlGR6FBYo1KmMFMIDh3A0VDPHqMeSjpZ77iHU+4NtopXSffQ4eXEuFSrafgFTmuybb9yAVBYoHFDdJKMmuSMnIsoE4O0NkNmTjPdxw8fWwHQt/PY7jGmxl0VAN6q1ItZVYr8r/fGyzMYxMm4fORegOczeQmGob8E7tgGuSzJJ538lbOzSjKjofWsDcyXAqFLkUlcqeb0HhTIvyA== MIME-Version: 1.0 X-Received: by 10.182.199.70 with SMTP id ji6mr43601196obc.36.1388396715387; Mon, 30 Dec 2013 01:45:15 -0800 (PST) Received: by 10.76.180.102 with HTTP; Mon, 30 Dec 2013 01:45:15 -0800 (PST) Date: Mon, 30 Dec 2013 11:45:15 +0200 Message-ID: Subject: Upgrading 1.1 to 1.2 in-place From: Katriel Traum To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=e89a8ff1cbda07896004eebd4d5d X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1cbda07896004eebd4d5d Content-Type: text/plain; charset=UTF-8 Hello list, I have a 2 DC set up with DC1:3, DC2:3 replication factor. DC1 has 6 nodes, DC2 has 3. This whole setup runs on AWS, running cassandra 1.1. Here's my nodetool ring: 1.1.1.1 eu-west 1a Up Normal 55.07 GB 50.00% 0 2.2.2.1 us-east 1b Up Normal 107.82 GB 100.00% 1 1.1.1.2 eu-west 1b Up Normal 53.98 GB 50.00% 28356863910078205288614550619314017622 1.1.1.3 eu-west 1c Up Normal 54.85 GB 50.00% 56713727820156410577229101238628035242 2.2.2.2 us-east 1d Up Normal 107.25 GB 100.00% 56713727820156410577229101238628035243 1.1.1.4 eu-west 1a Up Normal 54.99 GB 50.00% 85070591730234615865843651857942052863 1.1.1.5 eu-west 1b Up Normal 55.1 GB 50.00% 113427455640312821154458202477256070484 2.2.2.3 us-east 1e Up Normal 106.78 GB 100.00% 113427455640312821154458202477256070485 1.1.1.6 eu-west 1c Up Normal 55.01 GB 50.00% 141784319550391026443072753096570088105 I am going to upgrade my machine type, upgrade to 1.2 and change the 6-node to 3 nodes. I will have to do it on the live system. I'd appreciate any comments about my plan. 1. Decommission a 1.1 node. 2. Bootstrap a new one in-place, cassandra 1.2, vnodes enabled (I am trying to avoid a re-balance later on). 3. When done, decommission nodes 4-6 at DC1 Issues i've spotted: 1. I'm guessing I will have an unbalanced cluster for the time period where I have 1.2+vnodes and 1.1 mixed. 2. Rollback is cumbersome, snapshots won't help here. Any feedback appreciated Katriel --e89a8ff1cbda07896004eebd4d5d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello list,

I have a 2 DC set up with D= C1:3, DC2:3 replication factor. DC1 has 6 nodes, DC2 has 3. This whole setu= p runs on AWS, running cassandra 1.1.
Here's my nodetool ring= :
1.1.1.1 =C2=A0eu-west =C2= =A0 =C2=A0 1a =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Up =C2=A0 =C2=A0 Normal =C2= =A055.07 GB =C2=A0 =C2=A0 =C2=A0 =C2=A050.00% =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A00
1.1.1.2 =C2=A0eu-west =C2=A0 =C2= =A0 1b =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Up =C2=A0 =C2=A0 Normal =C2=A053.9= 8 GB =C2=A0 =C2=A0 =C2=A0 =C2=A050.00% =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A028356863910078205288614550619314017622
1.1.1.3 =C2=A0eu-west =C2=A0 =C2=A0 1c =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Up =C2=A0 =C2=A0 Normal =C2=A054.85 GB =C2= =A0 =C2=A0 =C2=A0 =C2=A050.00% =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A056713727820156410577229101238628035242
2.2.2.2 =C2=A0us-east =C2=A0 =C2= =A0 1d =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Up =C2=A0 =C2=A0 Normal =C2=A0107.= 25 GB =C2=A0 =C2=A0 =C2=A0 100.00% =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 56713727820156410577229101238628035243
1.1.1.4 =C2=A0eu-west =C2=A0 =C2=A0 1a =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0Up =C2=A0 =C2=A0 Normal =C2=A054.99 GB =C2=A0 =C2=A0 = =C2=A0 =C2=A050.00% =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A08507059= 1730234615865843651857942052863
1.1.1.5 =C2=A0eu-west =C2=A0 =C2= =A0 1b =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Up =C2=A0 =C2=A0 Normal =C2=A055.1= GB =C2=A0 =C2=A0 =C2=A0 =C2=A0 50.00% =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0113427455640312821154458202477256070484
2.2.2.3 =C2=A0us-east =C2=A0 =C2=A0 1e =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Up =C2=A0 =C2=A0 Normal =C2=A0106.78 GB =C2= =A0 =C2=A0 =C2=A0 100.00% =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1134274= 55640312821154458202477256070485
1.1.1.6 =C2=A0eu-west =C2=A0 =C2= =A0 1c =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Up =C2=A0 =C2=A0 Normal =C2=A055.0= 1 GB =C2=A0 =C2=A0 =C2=A0 =C2=A050.00% =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0141784319550391026443072753096570088105


I am going to upgrade my machine type, upgra= de to 1.2 and change the 6-node to 3 nodes. I will have to do it on the liv= e system.
I'd appreciate any comments about my plan.
1. Decommissi= on a 1.1 node.
2. Bootstrap a new one in-place, cassandra 1.2= , vnodes enabled (I am trying to avoid a re-balance later on).
3. When done, decommission nodes 4-6 at DC1

Issues= i've spotted:
1. I'm guessing I will have an unbalanced = cluster for the time period where I have 1.2+vnodes and 1.1 mixed.
2. Rollback is cumbersome, snapshots won't help here.
Any feedback appreciated

Katriel

--e89a8ff1cbda07896004eebd4d5d--