Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 80066 invoked from network); 4 Mar 2010 20:01:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Mar 2010 20:01:21 -0000 Received: (qmail 69008 invoked by uid 500); 4 Mar 2010 20:01:09 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 68996 invoked by uid 500); 4 Mar 2010 20:01:09 -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 68988 invoked by uid 99); 4 Mar 2010 20:01:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 20:01:09 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=FS_REPLICA,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 74.125.78.144 as permitted sender) Received: from [74.125.78.144] (HELO ey-out-1920.google.com) (74.125.78.144) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 20:01:02 +0000 Received: by ey-out-1920.google.com with SMTP id 4so428274eyg.8 for ; Thu, 04 Mar 2010 12:00:41 -0800 (PST) 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 :from:date:message-id:subject:to:content-type; bh=UwRjpJQ01vcxL/aBaI0vDbSK8Vn+zWTqkDOKBCxTHJA=; b=coul73D1gUCuHREco1aOVrOOzFrPTXKohdpLNGkGtxArCb6x4wUHMKMWWngQO3QSG9 cNZKzeLXa4NDfHFWLEs5BP/sk+4a9cxQuUHnZGNv1kT+IQF5xXBHKCCQldkEV6ifpCLH rLrK/Sufb3v5RjO+Y2zrw42tWKLjXJkQE+Qew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=jrYMl0SNJRkWC9u2GBGJoejQmL4HVKHAE6U/kuC6SIRGFAZj80veAjwdrdVvgEOLXi 58mKWCxmpbcKERYC3ZzT17HVX8tP4MaisqVq1uhdeWz3oBXlxSe2FWC9JaGqPKAltCTj S3TTOlREpW6IDYm9s0o8SYpoUbc0XNv/QKC8g= MIME-Version: 1.0 Received: by 10.216.86.9 with SMTP id v9mr6774wee.148.1267732841322; Thu, 04 Mar 2010 12:00:41 -0800 (PST) In-Reply-To: <311045.96241.qm@web58601.mail.re3.yahoo.com> References: <311045.96241.qm@web58601.mail.re3.yahoo.com> From: Jonathan Ellis Date: Thu, 4 Mar 2010 14:00:21 -0600 Message-ID: Subject: Re: Help with Replication Issue To: cassandra-user@incubator.apache.org Content-Type: multipart/alternative; boundary=0016e6da7ae3ad59850480ff0dd6 --0016e6da7ae3ad59850480ff0dd6 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Mar 4, 2010 at 1:33 PM, joe smith wrote: > Hi, > > I installed a cluster of 2 nodes using 0.5 version of binary distribution. > Node 1 is on a Macbook 10.4 w/SoyLatte (java 1.6 port). Node 2 is on a > Linux desktop. The configuration is straight out of the distribution - > except the host names for ListenAddress and ThriftAddress. > > The nodes started up w/o error and the cluster is verified with nodeprobe > ring command. Node 1 has a lower Token number than Node 2. I used > cassandra-cli to connect to node1 and posted a set command to insert data. > The data was inserted local to node 1 and also replicated successfully to > node 2. I was able to to connect to node 2 and issue a get command and see > all the data posted to node 1. > > However, when I connected to node 2 and issued the set command, the data > only get written to node 2 and was not replicated to node 1. Is this the > correct behavior? The default configuration is replicationfactor=1. --0016e6da7ae3ad59850480ff0dd6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Mar 4, 2010 at 1:33 PM, joe smith <water4u99@yahoo.com> wrote:
=A0
The default configuration is replicationfactor= =3D1.
--0016e6da7ae3ad59850480ff0dd6--
Hi,

I installed a cluster of 2 n= odes using 0.5 version of binary distribution. Node 1 is on a Macbook 10.4 w/SoyLatte (java 1.6 port). Node 2 is on a Linux desktop. The configuration is straight out of the distribution - except the host names for ListenAddress and ThriftAddress.

The nodes started up w/o error and the cluster is verified with nodeprobe ring command. Node 1 has a lower Token number than Node 2. I used cassandra-cli to connect to node1 and posted a set command to insert data. The data was inserted local to node 1 and also replicated successfully to node 2. I was able to to connect to node 2 and issue a get command and see all the data posted to node 1.

However, when I connected to node 2 and issued the set command, the data only get written to node 2 and was not replicated to node 1. Is this the correct behavior?