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 BB9C48B6F for ; Wed, 10 Aug 2011 21:30:36 +0000 (UTC) Received: (qmail 52964 invoked by uid 500); 10 Aug 2011 21:30:34 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 52793 invoked by uid 500); 10 Aug 2011 21:30:33 -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 52783 invoked by uid 99); 10 Aug 2011 21:30:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2011 21:30:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a83.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2011 21:30:27 +0000 Received: from homiemail-a83.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a83.g.dreamhost.com (Postfix) with ESMTP id 9605A5E06E for ; Wed, 10 Aug 2011 14:30:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; q=dns; s=thelastpickle.com; b=tJb1bIVhS1 4t61TAbHekghQS7UvT3QHy/pxWL+R23kutPozPHumgAYPIv6nrD8XFHqoPKAaG9q yiRe42smga6ZKW7NUBqBnIIETzBagvKSB/u6SCLHiRgzCo7FslYBDnL3Bd0z2zJD L3cK4Zc5mdhyBl3r0G4/uG7rGJ73b+mP4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; s=thelastpickle.com; bh=EJRPuyOkVazohOJS EpwE3+3DYlo=; b=0uXmF0FmeVkmBu+p0MkiyfYocIhlFV+XOLceDj8C8mwo99+c P/4iQMYS5Ice+zpjJzLb8JwxTO5dZd1BXh6DRtqgpy3zism+lBHCJKYnRW3dHTCk hl7n0J7OKFKPhMqcF0f1vr+B7V5ixJJdiiVqEb7sx1e/oziXz9WMhsZbXLQ= Received: from 202-126-206-202.vectorcommunications.net.nz (unknown [202.126.206.202]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a83.g.dreamhost.com (Postfix) with ESMTPSA id B17965E06A for ; Wed, 10 Aug 2011 14:29:58 -0700 (PDT) From: aaron morton Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: multipart/alternative; boundary="Apple-Mail=_6A343533-36EC-4B44-A042-7BE16D168D99" Subject: Re: Replication and 0.8.3 Date: Thu, 11 Aug 2011 09:29:46 +1200 In-Reply-To: To: user@cassandra.apache.org References: Message-Id: <064E5079-ECC4-4BA7-BE37-3356CC283512@thelastpickle.com> X-Mailer: Apple Mail (2.1244.3) --Apple-Mail=_6A343533-36EC-4B44-A042-7BE16D168D99 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 nodetool repair will make sure the data is replaced RF times. Run it = every RF nodes around the ring = http://wiki.apache.org/cassandra/Operations#Repairing_missing_or_inconsist= ent_data You can also use nodetool cfstats, it will give you some info on the = local data for a node. For example...=20 Column Family: Article SSTable count: 4 Space used (live): 1562827944 Space used (total): 1562827944 Number of Keys (estimate): 9980160 =85 Compacted row minimum size: 61 Compacted row maximum size: 770 Compacted row mean size: 128 What approach did you take to the bulk load (see = http://www.datastax.com/dev/blog/bulk-loading) ? What numbers are you = looking at and how do they differ from what you would expect to see ? Cheers ----------------- Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 11 Aug 2011, at 05:54, Sebastien Coutu wrote: > Hi, >=20 > I'm building a fresh 30 node cluster with Cassandra 0.8.3 on it and = I'm trying to run MapReduce jobs to load some data in the Cassandra = ring. After the job runs, I look at how much space I was supposed to = load and how much space the Cassandra load reports and it somewhat looks = like I don't have any replicas altough my replication factor is 3. Can = someone help me with cues on where/how to confirm if I have any = replicas? >=20 > Thanks >=20 > Sebastien Coutu >=20 >=20 --Apple-Mail=_6A343533-36EC-4B44-A042-7BE16D168D99 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 http://wiki.apache.org/cassandra/Operations#Repairing_mi= ssing_or_inconsistent_data


You can = also use nodetool cfstats, it will give you some info on the local data = for a node. For example... 

Column = Family: Article
SSTable count: = 4
= Space used (live): 1562827944
= Space used (total): 1562827944
= Number of Keys (estimate): 9980160
=85
= Compacted row minimum size: 61
= Compacted row maximum size: 770
= Compacted row mean size: = 128


What approach did you take = to the bulk load (see http://www.datastax= .com/dev/blog/bulk-loading) ? What numbers are you looking at = and how do they differ from what you would expect to see = ?

Cheers

http://www.thelastpickle.com

On 11 Aug 2011, at 05:54, Sebastien Coutu wrote:

Hi,

I'm building a fresh 30 node = cluster with Cassandra 0.8.3 on it and I'm trying to run MapReduce jobs = to load some data in the Cassandra ring. After the job runs, I look at = how much space I was supposed to load and how much space the Cassandra = load reports and it somewhat looks like I don't have any replicas = altough my replication factor is 3. Can someone help me with cues on = where/how to confirm if I have any replicas?

Thanks

Sebastien = Coutu



= --Apple-Mail=_6A343533-36EC-4B44-A042-7BE16D168D99--