Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 42274 invoked from network); 28 Sep 2009 23:07:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Sep 2009 23:07:34 -0000 Received: (qmail 90067 invoked by uid 500); 28 Sep 2009 23:07:34 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 90025 invoked by uid 500); 28 Sep 2009 23:07:33 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 90016 invoked by uid 99); 28 Sep 2009 23:07:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 23:07:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of michael.greene@gmail.com designates 209.85.211.202 as permitted sender) Received: from [209.85.211.202] (HELO mail-yw0-f202.google.com) (209.85.211.202) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 23:07:24 +0000 Received: by ywh40 with SMTP id 40so5059995ywh.32 for ; Mon, 28 Sep 2009 16:07:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=YI+UE52TfBO2Gu1KL/Gez6ICxMIboR2w4t5w9eOuWhg=; b=QearFF1U9roCXu4c8ONFbF/EI7Fah6pzKyMMZSpV1xsCnCkdk2MQKg3o8yespFtmEO 3123d+N7sku2FtwDTBKPXS9WoZ200jzUpiScAlLBtwbUMuiMc5SvLvTzzr6keoxNYE3B gVLr+KynbZEfAD7UKdR5l6RRJ3WYMYKO0MOmg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Rzy/TfhQearsgDyhK1FnznPr/1aM4CkR2WS2usYF2VdftDl+YsR+xviYbQbE2nMQ1V 99JvX+S/ZlS0+WL7qbFnNBk/Qi3IrOLL7FsXIfDl99qyFRIZnYPzyAewRt6ZhjeDtELR q9Lk5UqE1JomLpFphoE4Ntk08dgSz1IwPS2j4= MIME-Version: 1.0 Received: by 10.101.103.15 with SMTP id f15mr3620787anm.193.1254179223849; Mon, 28 Sep 2009 16:07:03 -0700 (PDT) In-Reply-To: <87y6nyn1fv.wl%catap@catap.ru> References: <87y6nyn1fv.wl%catap@catap.ru> Date: Mon, 28 Sep 2009 18:07:03 -0500 Message-ID: Subject: Re: Cassandra cluster setup [WAS Re: usage] From: Michael Greene To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Which partitioner are you using? What are the tokens for the nodes or what does bin/nodeprobe ring output? Are you setting the initial token or allowing Cassandra to choose one? What do your keys look like? Are they well-distributed? Michael On Mon, Sep 28, 2009 at 5:34 PM, Kirill A. Korinskiy wrote: > At Mon, 28 Sep 2009 17:27:35 -0500, > Michael Greene wrote: >> >> This is a new thread continued from the Facebook-usage thread. >> > > sure > >> Cassandra automatically shards your data based on the Partitioner you >> have setup in storage-conf.xml. =A0The copies are controlled by the >> ReplicationFactor setting in the same configuration file. =A0If all your >> nodes are in the same data center, then the default >> ReplicaPlacementStrategy of RackUnawareStrategy should be fine. >> > > ok. But on my test all my data go to two nodes. > > -- > wbr, Kirill >