From user-return-9857-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Wed Oct 13 22:27:56 2010 Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 94381 invoked from network); 13 Oct 2010 22:27:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Oct 2010 22:27:56 -0000 Received: (qmail 19318 invoked by uid 500); 13 Oct 2010 22:27:54 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 19264 invoked by uid 500); 13 Oct 2010 22:27:54 -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 19256 invoked by uid 99); 13 Oct 2010 22:27:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Oct 2010 22:27:54 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a42.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Oct 2010 22:27:47 +0000 Received: from homiemail-a42.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a42.g.dreamhost.com (Postfix) with ESMTP id D192968C06C for ; Wed, 13 Oct 2010 15:27:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=to:cc:from :subject:date:message-id:content-type:mime-version:in-reply-to; q=dns; s=thelastpickle.com; b=nJEgsIh1nGFAY1Ps/qEr3NweIXcjv0SUh AN32OUYRcAOOjYWWuwl0Gwq8kiBAE9KwJ8css1Q2E7w6vF1N1PhvbNsxh9SLZC23 nUxxAtuSoycXv+57HEHz4DWO1oKSfp3Z+Zmkbft0+QnVEIlRoGSfZlXmTRxjcNKM V/9ZnK9KtY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=to:cc :from:subject:date:message-id:content-type:mime-version: in-reply-to; s=thelastpickle.com; bh=/E3f9rooURUO42osddK4eolvfBM =; b=XoAjcBU4iphB6WQhYm11/V5Rd8qB4PR4wxUBTl/6bk/+knDlkGORwWg3ETV v1zqZFpEhg2XFemWywesMNTcUq/0evPSZRmq3pT6pWMedvwCsyS7i9YzrN6ipGXH iSpUe/k99AgNRI8dFnIDjMvnmaYd+0AEFJCzwSxZF0cS+dgU= Received: from localhost (webms.mac.com [17.148.16.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a42.g.dreamhost.com (Postfix) with ESMTPSA id A6FB968C06B; Wed, 13 Oct 2010 15:27:24 -0700 (PDT) To: user@cassandra.apache.org Cc: user@cassandra.apache.org From: Aaron Morton Subject: Re: ConfigHelper (hadoop) multiple addresses Date: Wed, 13 Oct 2010 22:27:23 GMT X-Mailer: MobileMe Mail (1C3203) Message-id: Content-Type: multipart/alternative; boundary=Apple-Webmail-42--38244d39-ebf2-ec05-a2f6-9e2cc6bcef1f MIME-Version: 1.0 In-Reply-To: X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Webmail-42--38244d39-ebf2-ec05-a2f6-9e2cc6bcef1f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; format=flowed The documentation says "Optional when storage-conf.xml=A0is provided" (am = guessing that should say cassandra.yaml)=0A=0AIf it's not specified the co= de will get the seed list from the config file, and you should normally be= able to hit=A0at least=A0one of those.=A0=0A=0AAaron=0A=0A=0AOn 14 Oct, 2= 010,at 10:32 AM, Saket Joshi wrote:=0A=0AHello,= =0A=A0=0AUsing Cassandra 0.6.5 to load data in =A0hadoop. The ConfigHelper= setThriftContact() =A0allows to specify just one host address. Is there a= way to specify more than one host address, so that it takes care of that = node failure. Eg host1,host2,host3. If host1 fails, host2 will be used to = get the ring information.=0A=A0=0AThanks,=0ASaket --Apple-Webmail-42--38244d39-ebf2-ec05-a2f6-9e2cc6bcef1f Content-Type: multipart/related; type="text/html"; boundary=Apple-Webmail-86--38244d39-ebf2-ec05-a2f6-9e2cc6bcef1f --Apple-Webmail-86--38244d39-ebf2-ec05-a2f6-9e2cc6bcef1f Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1;
The documentation says "Optional when storage-conf.xml is provid= ed" (am guessing that should say cassandra.yaml)

= If it's not specified the code will get the seed list from the config file= , and you should normally be able to hit at least one of those.&= nbsp;

Aaron


On 14 Oct, 2010,at = 10:32 AM, Saket Joshi <sjoshi@touchcommerce.com> wrote:

=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A
=0A=0A=

Hello,

=0A=0A

 

=0A=0A

Using Cassandra 0.6.5 to load data in  hadoop. The ConfigHe= lper.setThriftContact()=0A allows to specify just one host address. I= s there a way to specify more=0Athan one host address, so that it takes ca= re of that node failure. Eg host1,host2,host3.=0AIf host1 fails, host2 wil= l be used to get the ring information.

=0A=0A

 = ;

=0A=0A

Thanks,

=0A=0A

Saket =

=0A=0A
=0A=0A=0A=0A=0A
--Apple-Webmail-86--38244d39-ebf2-ec05-a2f6-9e2cc6bcef1f-- --Apple-Webmail-42--38244d39-ebf2-ec05-a2f6-9e2cc6bcef1f--