Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-5977

Structure for cfstats output (JSON, YAML, or XML)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 3.6
    • Component/s: Legacy/Tools
    • Labels:

      Description

      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.

        Attachments

        1. trunk-tablestats.patch
          25 kB
          Shogo Hoshii
        2. trunk-tablestats.patch
          23 kB
          Shogo Hoshii
        3. tablestats_sample_result.yaml
          50 kB
          Shogo Hoshii
        4. tablestats_sample_result.txt
          36 kB
          Shogo Hoshii
        5. tablestats_sample_result.json
          43 kB
          Shogo Hoshii
        6. sample_result.zip
          13 kB
          Shogo Hoshii
        7. sample_result.zip
          12 kB
          Shogo Hoshii
        8. CASSANDRA-5977-trunk.patch
          32 kB
          Shogo Hoshii
        9. CASSANDRA-5977-trunk.patch
          40 kB
          Shogo Hoshii

          Issue Links

            Activity

              People

              • Assignee:
                shoshii Shogo Hoshii
                Reporter:
                alyssa.c.kwan Alyssa Kwan
                Authors:
                Shogo Hoshii
                Reviewers:
                Yuki Morishita
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: