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 538409C8A for ; Wed, 11 Apr 2012 18:45:27 +0000 (UTC) Received: (qmail 23912 invoked by uid 500); 11 Apr 2012 18:45:25 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 23878 invoked by uid 500); 11 Apr 2012 18:45:25 -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 23870 invoked by uid 99); 11 Apr 2012 18:45:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2012 18:45:25 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of SRS0=yKQj+4=CR=itscape.com=jparashar@yourhostingaccount.com designates 65.254.253.146 as permitted sender) Received: from [65.254.253.146] (HELO mailout18.yourhostingaccount.com) (65.254.253.146) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2012 18:45:17 +0000 Received: from mailscan21.yourhostingaccount.com ([10.1.15.21] helo=mailscan21.yourhostingaccount.com) by mailout18.yourhostingaccount.com with esmtp (Exim) id 1SI2XI-0005Aq-H8 for user@cassandra.apache.org; Wed, 11 Apr 2012 14:44:56 -0400 Received: from impout03.yourhostingaccount.com ([10.1.55.3] helo=impout03.yourhostingaccount.com) by mailscan21.yourhostingaccount.com with esmtp (Exim) id 1SI2XI-0004op-1V for user@cassandra.apache.org; Wed, 11 Apr 2012 14:44:56 -0400 Received: from authsmtp01.yourhostingaccount.com ([10.1.18.1]) by impout03.yourhostingaccount.com with NO UCE id wikv1i00801P85W0000000; Wed, 11 Apr 2012 14:44:55 -0400 X-EN-OrigOutIP: 10.1.18.1 X-EN-IMPSID: wikv1i00801P85W0000000 Received: from [12.183.220.195] (helo=PARASHAR) by authsmtp01.yourhostingaccount.com with esmtpa (Exim) id 1SI2XH-0006Ip-Bo for user@cassandra.apache.org; Wed, 11 Apr 2012 14:44:55 -0400 From: "Jay Parashar" To: Subject: Initial token - newbie question (version 1.0.8) Date: Wed, 11 Apr 2012 13:44:46 -0500 Message-ID: <016c01cd1813$2bcd6a20$83683e60$@itscape.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac0YEpUm0wkzwUltSBuLhWyNJ9Y1rA== Content-Language: en-us X-EN-UserInfo: 256e5a76a9505ce88d35f58f44ec01f8:b4c2359d1afaa23d8b8a78814349bba7 X-EN-AuthUser: jparashar@itscape.com Sender: "Jay Parashar" X-EN-OrigIP: 12.183.220.195 X-EN-OrigHost: unknown X-Virus-Checked: Checked by ClamAV on apache.org I created a 3 node ring with the intial_token blank. Of course as expected, Cassandra generated its own tokens on startup (e.g. tokens X, Y and Z) The nodes or course were not properly balanced, so I did the following steps 1) stopped all the 3 nodes 2) assigned initial_tokens (A, B, C) respectively 3) Restarted the nodes What I find if that the node were still using the original tokens (X, Y and Z). Log messages say for node 1 show "Using saved token X" I could rebalance suing nodetool and now the nodes are using the correct tokens. But the question is, why were the new tokens not read from the Cassandra.yaml file? Without using nodetool, how do I make it get the token from the yaml file? Where is it saved? Another question: I could not find the auto_bootstrap in the yaml file as per the documentation. Where is this param located? Appreciate it. Thanks in advance Jay