Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E18A9174C9 for ; Fri, 4 Sep 2015 10:08:07 +0000 (UTC) Received: (qmail 5274 invoked by uid 500); 4 Sep 2015 09:50:46 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 5258 invoked by uid 500); 4 Sep 2015 09:50:45 -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 5245 invoked by uid 99); 4 Sep 2015 09:50:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2015 09:50:45 +0000 Date: Fri, 4 Sep 2015 09:50:45 +0000 (UTC) From: "Eugene (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-7950) Output of nodetool compactionstats and compactionhistory does not work well with long keyspace and column family names. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-7950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14730579#comment-14730579 ] Eugene commented on CASSANDRA-7950: ----------------------------------- Thank you to everyone that has worked on this so far. Will this, by chance, also fix the output of other commands, for example `nodetool listsnapshots`? I created a snapshot with a long tag (some-really-long-snapshot-name-geezey-petes). Ended up with the following: {code} # nodetool listsnapshots Snapshot Details: Snapshot name Keyspace name Column family name True size Size on disk some-really-long-snapshot-name-geezey-petesgalactaron replicatorstide 0 bytes 570.68 MB some-really-long-snapshot-name-geezey-petesdse_system leases 0 bytes 13 bytes some-really-long-snapshot-name-geezey-petesdse_system real_leaders 0 bytes 13 bytes some-really-long-snapshot-name-geezey-petesdse_system encrypted_keys 0 bytes 13 bytes some-really-long-snapshot-name-geezey-petesdse_system registered_leaders 0 bytes 13 bytes {code} > 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 > Assignee: Michael Shuler > Priority: Minor > Labels: lhf > Fix For: 2.1.x > > Attachments: 7950.patch, 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)