cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler Hobbs <ty...@datastax.com>
Subject Re: nodetool output through REST API?
Date Mon, 20 Aug 2012 22:56:47 GMT
Your best bet is probably to set up mx4j with Cassandra, which will expose
a REST api for all of the JMX stuff.

On Mon, Aug 20, 2012 at 2:46 PM, Yang <teddyyyy123@gmail.com> wrote:

> I'm trying to write a little python script to manage our cassandra cluster.
>
> it uses output from nodetool, for example to find the current token
> assignment, node status etc.
>
> I could do this by parsing output from "nodetool ring" command.
>
> but is there a more "native way" , for example through some REST API or
> python API, so that I avoid
> the possible changes in formatting of the output?
>
> I checked pycassa, it doesn't seem to have an API for the JMX services
>
>
> Thanks
> Yang
>



-- 
Tyler Hobbs
DataStax <http://datastax.com/>

Mime
View raw message