incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan King <r...@twitter.com>
Subject Re: 0.7.0 mx4j, get attribute
Date Wed, 02 Feb 2011 18:41:54 GMT
On Wed, Feb 2, 2011 at 10:40 AM, Chris Burroughs
<chris.burroughs@gmail.com> wrote:
> I'm using 0.7.0 and experimenting with the new mx4j support.
>
> http://host:port/mbean?objectname=org.apache.cassandra.request%3Atype%3DReadStage
>
> Returns a nice pretty html page.  For purposes of monitoring I would
> like to get a single attribute as xml.  The docs [1] decribe a
> "getattribute" endpoint.  But I have been unable to get anything other
> than a blank response from that.  mx4j does not seem to include any
> logging for troubleshooting.
>
> Example:
> http://host:port/getattribute?objectname=org.apache.cassandra.request%3atype%3dReadStage&attribute=PendingTasks
>
> returns 200 OK with no data.
>
> If anyone could point out what embarrassingly simple mistake I am making
> I would be much obliged.
>
>
> [1] http://mx4j.sourceforge.net/docs/ch05.html
>

Note that many objects in cassandra aren't initialized until they're
used for the first time.

-ryan

Mime
View raw message