[ https://issues.apache.org/jira/browse/CASSANDRA-18955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams updated CASSANDRA-18955: ----------------------------------------- Status: Needs Committer (was: Review In Progress) > 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: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org