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

Structure for tpstats output (JSON, YAML)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.10
    • Legacy/Tools
    • None

    Description

      In CASSANDRA-5977, some extra output formats such as JSON and YAML were added for nodetool tablestats.
      Similarly, I would like to add the output formats in nodetool tpstats.

      Also, I tried to refactor the tablestats's code about the output formats to integrate the existing code with my code.

      Please review the attached patch.

      Attachments

        1. tpstats_result.yaml
          3 kB
          Hiroyuki Nishi
        2. tpstats_result.txt
          2 kB
          Hiroyuki Nishi
        3. tpstats_result.json
          3 kB
          Hiroyuki Nishi
        4. tpstats_output.yaml
          3 kB
          Alex Petrov
        5. tablestats_result.yaml
          41 kB
          Hiroyuki Nishi
        6. tablestats_result.txt
          36 kB
          Hiroyuki Nishi
        7. tablestats_result.json
          36 kB
          Hiroyuki Nishi
        8. CASSANDRA-12035-trunk.patch
          57 kB
          Hiroyuki Nishi

        Issue Links

          Activity

            People

              hnishi Hiroyuki Nishi
              hnishi Hiroyuki Nishi
              Hiroyuki Nishi
              Alex Petrov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: