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

Structure for tpstats output (JSON, YAML)

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. CASSANDRA-12035-trunk.patch
          57 kB
          Hiroyuki Nishi
        2. tablestats_result.json
          36 kB
          Hiroyuki Nishi
        3. tablestats_result.txt
          36 kB
          Hiroyuki Nishi
        4. tablestats_result.yaml
          41 kB
          Hiroyuki Nishi
        5. tpstats_output.yaml
          3 kB
          Alex Petrov
        6. tpstats_result.json
          3 kB
          Hiroyuki Nishi
        7. tpstats_result.txt
          2 kB
          Hiroyuki Nishi
        8. tpstats_result.yaml
          3 kB
          Hiroyuki Nishi

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment