Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 42519 invoked from network); 2 May 2009 12:46:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 May 2009 12:46:04 -0000 Received: (qmail 57570 invoked by uid 500); 2 May 2009 12:46:03 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 57537 invoked by uid 500); 2 May 2009 12:46:03 -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 57528 invoked by uid 99); 2 May 2009 12:46:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 May 2009 12:46:03 +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 jbellis@gmail.com designates 209.85.221.124 as permitted sender) Received: from [209.85.221.124] (HELO mail-qy0-f124.google.com) (209.85.221.124) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 May 2009 12:45:55 +0000 Received: by qyk30 with SMTP id 30so3783576qyk.32 for ; Sat, 02 May 2009 05:45:32 -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=3sLiHGHiWCT8bULk31OlyuW9rOuDfN8J4JvCMU5WNb0=; b=vGzIa8WSY+5/RAV8zyWGQ2pg8yxqN1J3EfU6tLaRf+ql+fz0y2FN3ZVRdeB4FlY1IU y1bUgvjnxURE+919nE4yYOagk8TKRxagfEKJ/PU1D4CdxVdh985lsb41/n0bFNhPva23 W3cHgoCQb7n8/o+aKGrPQKSjCiw78mRjGbDnE= 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=rmizhImti21RJL5KnVJ1Vgo2jjya8gtqXPCxCMwuvBoNHepGdvEGHwCu4e0Gu0+Bsh pB7l9aDdMJYYFPfAH+vhmJJjiQ5sHnnDsLejLNQhB2qCW4ypovnCbNwoqNfzjXKKxJCu p6jaxLu6+CLDwmU80SUhZJmsZ7GXZ85e39KFE= MIME-Version: 1.0 Received: by 10.229.82.9 with SMTP id z9mr2656250qck.79.1241268332740; Sat, 02 May 2009 05:45:32 -0700 (PDT) In-Reply-To: <75F7AE08-430D-4430-B0F9-6736FEA48129@ing.unibs.it> References: <75F7AE08-430D-4430-B0F9-6736FEA48129@ing.unibs.it> Date: Sat, 2 May 2009 07:45:32 -0500 Message-ID: Subject: Re: Some questions. From: Jonathan Ellis 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 On Sat, May 2, 2009 at 6:22 AM, Manuel Crotti wrote: > Now I have some questions: > 1. each "storage-conf.xml" should contain just one of the above > ip-addresses=A0(obviously not the localhost's IP address)=A0in the > section to let cassandra learn the whole topology? Or it must contain the > whole list? Just pick one of the public IPs to be seed. > 2. how can I see if the nodes of the cluster are "talking" (some logfile, > ...)? (I supposed to find it into the localhost:7002 interface but i see > just a host -localhost - =A0and I suppose hosts are not "talking") If it is working each :7002 will show all the nodes. > 3. What should differ between the =A0"storage-conf.xml" files of each nod= e? > 3.1. the=A0"storage-conf.xml" of each node should contain the table struc= ture > to replicate/propagate the information of the data of a table? Right. The only thing you that should be different is the ListenAddress section. (You can try leaving that out and Cassandra will pick an interface to use but it often guesses a non-public interface which is not helpful. :) > 3.2 finally: should I start a cluster with an empty DB or I can replicate= an > existing DB? You can start from an existing one if it's really legitimate for all nodes to have copies of that data but it probably is not. > I also submit a couple of errors that raised using the command-line clien= t: Okay, so the problems are that (1) it thinks it is connected when it is not, and (2) it allows you to run commands when it is not connected. Right? Can you file those in the issue tracker? https://issues.apache.org/jira/browse/CASSANDRA thanks, -Jonathan