Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 79D7BC03C for ; Fri, 1 Nov 2013 09:01:53 +0000 (UTC) Received: (qmail 33634 invoked by uid 500); 1 Nov 2013 09:01:49 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 33611 invoked by uid 500); 1 Nov 2013 09:01:47 -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 33602 invoked by uid 99); 1 Nov 2013 09:01:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Nov 2013 09:01:45 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kardan38@gmail.com designates 209.85.217.171 as permitted sender) Received: from [209.85.217.171] (HELO mail-lb0-f171.google.com) (209.85.217.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Nov 2013 09:01:38 +0000 Received: by mail-lb0-f171.google.com with SMTP id x18so3248753lbi.16 for ; Fri, 01 Nov 2013 02:01:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=sonAkGvEYXcnbXM1o8e6wcZ5aJphgg2OSE2SG9NS4wg=; b=isRT9mnrrdmeSanGPHQ60E8iKs6g9MP2pKZoGgQU3QZ+DEC3vBMtRtWfSjb1/CUvv4 Ayl+ChbRgUyszDgKIMko4CcVY9fMGX9DKhSGYCmBUC140dzkZF8ngagjM+IQmV9i9uBk 5kqVqGaviC+MXsbI2QJjCzRyWu6mhfRn3oIuqqeIqttmk7k8MvqS1BGCytyt9A+vH373 a2C2i9e4xIcENwngaLaaSgCP7O2D0BpNb6sV00mqcszYRW4gjL7dJPe+ZBXK6TJ6AXOO WXg2E5k1/gtuc+qsJEw1si2G+U6ItWwFimPZYzmUMaL93ojjyfiFLTnoWlrptTV9itmG 7bog== X-Received: by 10.112.136.65 with SMTP id py1mr1158234lbb.4.1383296478042; Fri, 01 Nov 2013 02:01:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.44.1 with HTTP; Fri, 1 Nov 2013 02:00:37 -0700 (PDT) From: Salih Kardan Date: Fri, 1 Nov 2013 11:00:37 +0200 Message-ID: Subject: Check out if Cassandra ready To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=089e0115f6c4315f2004ea19cfcb X-Virus-Checked: Checked by ClamAV on apache.org --089e0115f6c4315f2004ea19cfcb Content-Type: text/plain; charset=ISO-8859-1 Hi all, I am a newbie to Cassandra and I am tring to write test cases to cassandra with JUnit. I use CassandraDaemon class to start cassandra in IntelliJ IDEA. I want to wait until Cassandra up and running before runnig test methods. How can I wait until cassandra starts or is there any way to check if cassandra is running (with Java)? Thanks. Salih Kardan --089e0115f6c4315f2004ea19cfcb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi all,

I am a newbie to Cassandra and = I am tring to write test cases to cassandra with JUnit.=A0
I use = CassandraDaemon class to start cassandra in IntelliJ IDEA. I want to wait= =A0
until Cassandra up and running before runnig test methods. How can I w= ait until cassandra starts or=A0
is there any way to check if cas= sandra is running (with Java)?

Thanks.
Salih Kardan
--089e0115f6c4315f2004ea19cfcb--