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

Brandon Williams commented on CASSANDRA-18955:
----------------------------------------------

||Branch||CI||
|[trunk|https://github.com/driftx/cassandra/tree/CASSANDRA-18955-trunk]|[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1347/workflows/f8140830-c307-49e8-88b1-439d14f25d4b],
 
[j17|https://app.circleci.com/pipelines/github/driftx/cassandra/1347/workflows/2eb99e16-4c37-4395-8a39-06cd0d401190]|


> TableHistograms output a lot of repeated information
> ----------------------------------------------------
>
>                 Key: CASSANDRA-18955
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18955
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tool/nodetool
>            Reporter: Maxwell Guo
>            Assignee: Maxwell Guo
>            Priority: Normal
>             Fix For: 5.0, 5.x
>
>         Attachments: 1.png
>
>
> This patch aims to fix two issues:
> 1. the original output of nodetool tablehistograms with no tables specified 
> is wrong , the output will contains many repeated informations. See the 
> picture below.
> The reason is that for 
> [tablesList.keys()|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/tools/nodetool/TableHistograms.java#L80]
>  will give a Multiset output as tablesList is a Multimap.  
> 2. as we have DISCUSS for "Change the useage of nodetool tablehistograms" , 
> for arguments more than two, the output of tablehistograms will be all of the 
> tables, it's a bug that we should fix. We can see that the 
> [description|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/tools/nodetool/TableHistograms.java#L42]
>  of tablehistograms is ,out put the statistic histograms for the given table. 
> and the format of the argument is like 
> [tthis|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/tools/nodetool/TableHistograms.java#L45]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to