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 499FD6647 for ; Thu, 21 Jul 2011 08:59:44 +0000 (UTC) Received: (qmail 79670 invoked by uid 500); 21 Jul 2011 08:59:41 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 79392 invoked by uid 500); 21 Jul 2011 08:59:32 -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 79154 invoked by uid 99); 21 Jul 2011 08:59:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2011 08:59:29 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cbertu81@libero.it designates 212.52.84.103 as permitted sender) Received: from [212.52.84.103] (HELO outrelay03.libero.it) (212.52.84.103) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2011 08:59:21 +0000 X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0B0204.4E27EA54.0157,ss=1,re=0.000,fgs=0 X-libjamoibt: 1821 Received: from wmail65 (172.31.0.60) by outrelay03.libero.it (8.5.133) (authenticated as cbertu81@libero.it) id 4DE4FF1D03B2FF7C for user@cassandra.apache.org; Thu, 21 Jul 2011 10:59:00 +0200 Message-ID: <28422473.503361311238740550.JavaMail.defaultUser@defaultHost> Date: Thu, 21 Jul 2011 10:59:00 +0200 (CEST) From: "cbertu81@libero.it" Reply-To: "cbertu81@libero.it" To: Subject: R: Re: My "nodetool" in Java MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 80.93.79.166 It was easier than what I though :-) thanks >----Messaggio originale---- >Da: jeremy.hanna1234@gmail.com >Data: 20/07/2011 22.25 >A: >Ogg: Re: My "nodetool" in Java > >If you look at the bin/nodetool file, it's just a shell script to run org. apache.cassandra.tools.NodeCmd. You could probably call that directly from your code. > >On Jul 20, 2011, at 3:18 PM, cbertu81@libero.it wrote: > >> Hi all, >> I'd like to build something like "nodetool" to show the status of the ring >> (nodes up-down, info on single node) all via JAVA. >> Do you have any tip for this? (I don't want to run the nodetool through java >> and capture the output ...). >> >> I have really no idea on how to do it ... :-) > >