Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 63255 invoked from network); 1 Jun 2010 21:03:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jun 2010 21:03:45 -0000 Received: (qmail 92445 invoked by uid 500); 1 Jun 2010 21:03:43 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 92399 invoked by uid 500); 1 Jun 2010 21:03:43 -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 92383 invoked by uid 99); 1 Jun 2010 21:03:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 21:03:43 +0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of patricioe@gmail.com designates 209.85.212.44 as permitted sender) Received: from [209.85.212.44] (HELO mail-vw0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 21:03:37 +0000 Received: by vws11 with SMTP id 11so1598035vws.31 for ; Tue, 01 Jun 2010 14:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=g/2afrDZ4IU1L5UOCuXme1LSlGKzQgrpLE72mDlGudM=; b=FxO7znGNxSrzaLkFGjHXUy5UdTQzcgU7h+gVby5Ez1D7m1MzKphbhDjjHp4cAadKGD 5Noxo9TZk5avhuotbHCSpsAw9TeFOVL8DNYWKCVfkR7aMNpshpWy2e4xh3pzGbbnLZ1K U8LHyDZQulA5oQlFGurY/xXq9P+B5JBLycJj8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=urXoFVVb4Xp34uyLLVosYDAnseWkHOD06EfZgfmZRT7wYtHvIHXWDo27hhTtGLa4rU XOiIySnTIPA2BazV4BDeJAEAbVu5VLNxM1KlOiRDNj+dtQgjeEw78ochTWtGcaA6A1Em gLEnFkWvub8Mc4Zw/5KyKIM0vokQeuVl8qj9w= Received: by 10.220.127.94 with SMTP id f30mr4996701vcs.18.1275426196298; Tue, 01 Jun 2010 14:03:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.71.18 with HTTP; Tue, 1 Jun 2010 14:02:56 -0700 (PDT) From: =?ISO-8859-1?Q?Patricio_Echag=FCe?= Date: Tue, 1 Jun 2010 14:02:56 -0700 Message-ID: Subject: Is there any way to detect when a node is down so I can failover more effectively? To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0016e6d271745e2b5d0487fe4d98 --0016e6d271745e2b5d0487fe4d98 Content-Type: text/plain; charset=ISO-8859-1 Hi all, I'm using Hector framework to interact with Cassandra and at trying to handle failover more effectively I found it a bit complicated to fetch all cassandra nodes that are up and running. My goal is to keep an up-to-date list of active/up Cassandra servers to provide HEctor every time I need to execute against the db. I've seen this Thrift method: get_string_property("token map") but it returns the nodes in the ring no matter is the node is down. Any advice? -- Patricio.- --0016e6d271745e2b5d0487fe4d98 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all, I'm using Hector framework to interact with Cassandra and at tr= ying to handle failover more effectively I found it a bit complicated to fe= tch all cassandra nodes that are up and running.

My goal is to keep = an up-to-date list of active/up Cassandra servers to provide HEctor every t= ime I need to execute against the db.

I've seen this Thrift=A0 method: get_string_= property("token=A0map") but it returns the nodes in the ring= no matter is the node is down.



Any advice?

--
Patricio.-
--0016e6d271745e2b5d0487fe4d98--