Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5332D200B3C for ; Wed, 13 Jul 2016 11:39:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 51EF3160A6E; Wed, 13 Jul 2016 09:39:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 96BC0160A57 for ; Wed, 13 Jul 2016 11:39:21 +0200 (CEST) Received: (qmail 31218 invoked by uid 500); 13 Jul 2016 09:39:20 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 31207 invoked by uid 99); 13 Jul 2016 09:39:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2016 09:39:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 700652C02A4 for ; Wed, 13 Jul 2016 09:39:20 +0000 (UTC) Date: Wed, 13 Jul 2016 09:39:20 +0000 (UTC) From: "Hiroyuki Nishi (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-12035) Structure for tpstats output (JSON, YAML) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 13 Jul 2016 09:39:22 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12035?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D15374715#comment-15374715 ]=20 Hiroyuki Nishi commented on CASSANDRA-12035: -------------------------------------------- Hi [~ifesdjeen], Thank you for your review and refactoring! I take another look at this code. =E3=80=80https://github.com/ifesdjeen/cassandra/commit/a46ea376f02245428d05= c9fb47488102babde4a6 Thereby, I have one question. I could not understand the necessity of toStr= ing() on below line. =E3=80=80https://github.com/ifesdjeen/cassandra/blob/12035-trunk/src/java/o= rg/apache/cassandra/tools/nodetool/stats/TpStatsHolder.java#L48 I don't think I have another problems. > Structure for tpstats output (JSON, YAML) > ----------------------------------------- > > Key: CASSANDRA-12035 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1203= 5 > Project: Cassandra > Issue Type: Improvement > Components: Tools > Reporter: Hiroyuki Nishi > Assignee: Hiroyuki Nishi > Priority: Minor > Attachments: CASSANDRA-12035-trunk.patch, tablestats_result.json,= tablestats_result.txt, tablestats_result.yaml, tpstats_output.yaml, tpstat= s_result.json, tpstats_result.txt, tpstats_result.yaml > > > In CASSANDRA-5977, some extra output formats such as JSON and YAML were a= dded for nodetool tablestats.=20 > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)