You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eugene (JIRA)" <ji...@apache.org> on 2015/01/20 19:57:35 UTC

[jira] [Comment Edited] (CASSANDRA-7950) Output of nodetool compactionstats and compactionhistory does not work well with long keyspace and column family names.

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

Eugene edited comment on CASSANDRA-7950 at 1/20/15 6:57 PM:
------------------------------------------------------------

Might be worth looking into how the column command does it.  e.g.:

  cat /proc/meminfo
  cat /proc/meminfo | column -t

At the very least if these nodetool commands had proper delimitation (e.g. at least a single space between fields) their output could be easily parsed by utilities and the column command could be used manually to correct the output.


was (Author: aechttpd):
Might be worth looking into how the column command does it.  e.g.:

  cat /proc/meminfo
  cat /proc/meminfo | column -t

At the very least if these nodetool commands had proper delimitation (a single space between fields) their output could be easily parsed by utilities and the column command could be used manually to correct the output.

> Output of nodetool compactionstats and compactionhistory does not work well with long keyspace and column family names.  
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-7950
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7950
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: CentOS 5, 64bit, Oracle JDK 7, DSE
>            Reporter: Eugene
>            Priority: Minor
>              Labels: lhf
>             Fix For: 2.0.13
>
>         Attachments: nodetool-examples.txt
>
>
> When running these commands:
> nodetool compactionstats
> nodetool compactionhistory
> The output can be difficult to grok due to long keyspace names, column family names, and long values.  I have attached an example.
> It's difficult for both humans and grep/sed/awk/perl to read.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)