Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 78478 invoked from network); 23 Dec 2009 16:30:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Dec 2009 16:30:51 -0000 Received: (qmail 50687 invoked by uid 500); 23 Dec 2009 16:30:51 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 50664 invoked by uid 500); 23 Dec 2009 16:30:51 -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 50654 invoked by uid 99); 23 Dec 2009 16:30:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Dec 2009 16:30:51 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bburruss@real.com designates 207.188.23.7 as permitted sender) Received: from [207.188.23.7] (HELO cir-el.real.com) (207.188.23.7) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Dec 2009 16:30:44 +0000 Received: from seacas01.corp.real.com ([::ffff:192.168.139.56]) (TLS: TLSv1/SSLv3,128bits,AES128-SHA) by cir-el.real.com with esmtp; Wed, 23 Dec 2009 08:30:23 -0800 id 001FC0F2.4B32459F.0000379E Received: from seambx.corp.real.com ([fe80::2d15:fda7:b3b8:e268]) by seacas01.corp.real.com ([192.168.139.56]) with mapi; Wed, 23 Dec 2009 08:30:23 -0800 From: Brian Burruss To: "cassandra-user@incubator.apache.org" Date: Wed, 23 Dec 2009 08:28:41 -0800 Subject: RE: How know node is fully up? Thread-Topic: How know node is fully up? Thread-Index: AcqDi6Fd44lECAjmTda1HcmTpaU7GwAYVuyx Message-ID: <766B5A29D28DA442AB229AAEE2AFC44507D7B9150C@SEAMBX.corp.real.com> References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 when i see this message it seems like it is still not responding to read re= quests, so IMO it isn't fully up and operational. i assume it is still "ha= nding off" or some other sync operation. i think a JMX paramater should be exposed that contains the "state" of a no= de. ________________________________________ From: Jonathan Ellis [jbellis@gmail.com] Sent: Tuesday, December 22, 2009 8:50 PM To: cassandra-user@incubator.apache.org Subject: Re: How know node is fully up? It's up when it logs "Cassandra starting up..." and starts listening for thrift connections On Tue, Dec 22, 2009 at 10:16 PM, Brian Burruss wrote: > I never heard from anyone about this. I think it is important for bringi= ng nodes out of service during upgrades so no data loss occurs. Also when = introducing a new node you need to know when it is fully populated. > > Tux! > > Brian Burruss wrote: > > > How can i tell that a node is completely up and taking reads and writes? > > - at startup? > - after new bootstrap? > - after a node has been unavailable for some time and rejoins the cluster= ? > > i see the "INFO [main] [CassandraDaemon.java:141] Cassandra starting up..= ." message in the log, but it seems to have happened way too fast after i s= imulated a crash. > > using tpstats i don't see any ROW-READ-STAGE completed, but lots of ROW-M= UTATION-STAGE completed which seems to be correct for a node that is still = sync'ing with the cluster after being unavailable. > > .. but how do i know ;) > > thx! >