cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shogo Hoshii (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5977) Structure for cfstats output (JSON, YAML, or XML)
Date Mon, 14 Mar 2016 06:29:33 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-5977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15192816#comment-15192816
] 

Shogo Hoshii commented on CASSANDRA-5977:
-----------------------------------------

Hello,

I added -F option to tablestats (cfstats) command to get json or yaml result of that.
If you don't use -F option, the result is same as that of previous versions.
Could someone review the attached patch?
I worked in trunk branch.

Thank you

> Structure for cfstats output (JSON, YAML, or XML)
> -------------------------------------------------
>
>                 Key: CASSANDRA-5977
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5977
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Alyssa Kwan
>            Priority: Minor
>         Attachments: tablestats_sample_result.json, tablestats_sample_result.txt, tablestats_sample_result.yaml,
trunk-tablestats.patch
>
>
> nodetool cfstats should take a --format arg that structures the output in JSON, YAML,
or XML.  This would be useful for piping into another script that can easily parse this and
act on it.  It would also help those of us who use things like MCollective gather aggregate
stats across clusters/nodes.
> Thoughts?  I can submit a patch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message