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 4BF446794 for ; Tue, 7 Jun 2011 14:58:16 +0000 (UTC) Received: (qmail 53388 invoked by uid 500); 7 Jun 2011 14:58:14 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 53363 invoked by uid 500); 7 Jun 2011 14:58:14 -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 53355 invoked by uid 99); 7 Jun 2011 14:58:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2011 14:58:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nguyen.h.khanh@gmail.com designates 209.85.216.172 as permitted sender) Received: from [209.85.216.172] (HELO mail-qy0-f172.google.com) (209.85.216.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2011 14:58:07 +0000 Received: by qyk29 with SMTP id 29so1882144qyk.10 for ; Tue, 07 Jun 2011 07:57:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=pH4m9c8RVJMYrxbJkaDnzC/MgiEgsEq9bE3SlzQmoYU=; b=Nm1swbQxWVOgrIs2E1F4fDJy3B5i8kVdHYCT5MjDENMSLNGkO5vmGDJzDgr7NBgv4k R/zCN1pnWzeIOSk14WmLpWysY3bAyb9muEkiT3BhIIV/Y+tbxKiGsKo3KbxmvV4KHeGm /aERfo9dm7yYRceWJW/tnJTgA2KvR70lj3g4M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=uXHJZQwK0rMZkoir1w+ggPVw/3gtJqhdzeqc57zBSXB/V3ylLuMM2TdC4jPT+i9oZ5 Y9tNKd58rRd/Hdq01BxPbcYANGitYUz6detvl1FVjNnDXW6WgBvD06IdDNNQdIUzUV6G wF2pe0ONTHMUnqhfnqxijES3Qt6Ath5UjvrPw= MIME-Version: 1.0 Received: by 10.224.176.205 with SMTP id bf13mr3054603qab.190.1307458666621; Tue, 07 Jun 2011 07:57:46 -0700 (PDT) Received: by 10.224.80.147 with HTTP; Tue, 7 Jun 2011 07:57:46 -0700 (PDT) Date: Tue, 7 Jun 2011 10:57:46 -0400 Message-ID: Subject: set up a cassandra cluster with ByteOrderedPartitioner using whirr? From: Khanh Nguyen To: user@cassandra.apache.org, whirr-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm struggling to set up a cassandra cluster with ByteOrderedPartitioner using whirr. (I'm not sure if the issue is caused by Cassandra or Whirr so I cc-ed both lists). Here are the steps I took - use whirr to lauch a cassandra (version 0.8) cluster - ssh into each instances and do 1) kill cassandra 2) edit "partitioner" field in cassandra.yaml from "org.apache.cassandra.dht.RandomPartitioner" to "org.apache.cassandra.dht.ByteOrderedPartitioner" 3) edit 'JMX_PORT" in cassandra-env.sh from 7199 to 8080 (whirr bind JMX to port 8080) 3) delete "/var/lib/cassandra/data" 4) run cassandra again in the end, I got my cluster back but when I do 'describe cluster' inside cassandra-cli, it shows the cluster is still running RandomPartitioner. What am I missing? Thanks. Regards, -k