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 95DD5E857 for ; Sun, 3 Feb 2013 10:33:38 +0000 (UTC) Received: (qmail 3201 invoked by uid 500); 3 Feb 2013 10:33:36 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 2450 invoked by uid 500); 3 Feb 2013 10:33:35 -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 1349 invoked by uid 99); 3 Feb 2013 10:33:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Feb 2013 10:33:30 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of owenzhang1990@gmail.com designates 209.85.210.48 as permitted sender) Received: from [209.85.210.48] (HELO mail-da0-f48.google.com) (209.85.210.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Feb 2013 10:33:25 +0000 Received: by mail-da0-f48.google.com with SMTP id k18so2274314dae.21 for ; Sun, 03 Feb 2013 02:33:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=MbiIlyZ5bsr+CePBGPPJqjmZbM+lKVVkhCS4AgSLMaY=; b=x40rAGOpQPI5qoh+Rgqut4CrMwljyiNlBl1YBT7BQvbnyZ7LKR3o1p//bLONYZZFzH urhfrVOnz+tOnHVFPK5XdVlthywqUWdvcTzgw1u1Zyc+drQCcmWVDF78LSi2PgjfYPhd fNb07enIvKNCnBQDXSKy6e4s+UHPKk8uw+PmfuvHpAMwBFc6HtD1Rn2ONwqZihPcbPrS HmJcs4duCROlmK/vpYQHYXK7t8cLrD1trly7VVEqxoCjhESJgutrJJzSWsbuiThujIwn 5P/4YEPcMwmZl+aCzeKhrNjXBhIaOga7o8xyhZd520yeX7wmUThutZOMDVpsYcGVMyRM nqkw== X-Received: by 10.66.88.37 with SMTP id bd5mr43211373pab.75.1359887584594; Sun, 03 Feb 2013 02:33:04 -0800 (PST) Received: from ?IPv6:2001:5c0:1400:a::1a1? ([2001:5c0:1400:a::1a1]) by mx.google.com with ESMTPS id z10sm15334160pay.7.2013.02.03.02.32.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 03 Feb 2013 02:33:02 -0800 (PST) Message-ID: <510E3CD5.2070009@gmail.com> Date: Sun, 03 Feb 2013 18:32:53 +0800 From: Manu Zhang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: Upgrade to Cassandra 1.2 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Sun 03 Feb 2013 05:45:56 AM CST, Daning Wang wrote: > I'd like to upgrade from 1.1.6 to 1.2.1, one big feature in 1.2 is > that it can have multiple tokens in one node. but there is only one > token in 1.1.6. > > how can I upgrade to 1.2.1 then breaking the token to take advantage > of this feature? I went through this doc but it does not say how to > change the num_token > > http://www.datastax.com/docs/1.2/install/upgrading > > Is there other doc about this upgrade path? > > Thanks, > > Daning I think for each node you need to change the num_token option in conf/cassandra.yaml (this only split the current range into num_token parts) and run the bin/cassandra-shuffle command (this spread it all over the ring).