[jira] [Commented] (CASSANDRA-6360) Make nodetool cfhistograms output easily understandable

2014-02-06 Thread Tyler Hobbs (JIRA)

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

Tyler Hobbs commented on CASSANDRA-6360:


bq. Committed to 2.0; can you give me a patch against trunk?

Thanks.  We're leaving trunk as-is, since it has already been improved in a 
different way.

> Make nodetool cfhistograms output easily understandable
> ---
>
> Key: CASSANDRA-6360
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6360
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tools
>Reporter: Tyler Hobbs
>Assignee: Tyler Hobbs
>Priority: Trivial
> Attachments: 6360-2.0-v2.patch, 6360-2.0.patch
>
>
> Almost nobody understands the cfhistograms output without googling it.  By 
> default, we shouldn't share an axis across all metrics.  We can still provide 
> the current format with a --compact option.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CASSANDRA-6360) Make nodetool cfhistograms output easily understandable

2014-02-06 Thread Jonathan Ellis (JIRA)

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

Jonathan Ellis commented on CASSANDRA-6360:
---

Committed to 2.0; can you give me a patch against trunk?

> Make nodetool cfhistograms output easily understandable
> ---
>
> Key: CASSANDRA-6360
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6360
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tools
>Reporter: Tyler Hobbs
>Assignee: Tyler Hobbs
>Priority: Trivial
> Attachments: 6360-2.0-v2.patch, 6360-2.0.patch
>
>
> Almost nobody understands the cfhistograms output without googling it.  By 
> default, we shouldn't share an axis across all metrics.  We can still provide 
> the current format with a --compact option.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CASSANDRA-6360) Make nodetool cfhistograms output easily understandable

2014-02-05 Thread Benedict (JIRA)

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

Benedict commented on CASSANDRA-6360:
-

bq. since things are improved in 2.1, it's not terribly important to me.

+1

> Make nodetool cfhistograms output easily understandable
> ---
>
> Key: CASSANDRA-6360
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6360
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tools
>Reporter: Tyler Hobbs
>Assignee: Tyler Hobbs
>Priority: Trivial
> Attachments: 6360-2.0.patch
>
>
> Almost nobody understands the cfhistograms output without googling it.  By 
> default, we shouldn't share an axis across all metrics.  We can still provide 
> the current format with a --compact option.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CASSANDRA-6360) Make nodetool cfhistograms output easily understandable

2014-02-05 Thread Brandon Williams (JIRA)

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

Brandon Williams commented on CASSANDRA-6360:
-

Oh, I thought you meant print as many columns as possible.  We have a lot more 
than two columns, they're just not shown in Tyler's example, and there isn't 
always a logical pairing between them.

> Make nodetool cfhistograms output easily understandable
> ---
>
> Key: CASSANDRA-6360
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6360
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tools
>Reporter: Tyler Hobbs
>Assignee: Tyler Hobbs
>Priority: Trivial
> Attachments: 6360-2.0.patch
>
>
> Almost nobody understands the cfhistograms output without googling it.  By 
> default, we shouldn't share an axis across all metrics.  We can still provide 
> the current format with a --compact option.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CASSANDRA-6360) Make nodetool cfhistograms output easily understandable

2014-02-05 Thread Benedict (JIRA)

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

Benedict commented on CASSANDRA-6360:
-

bq. The problem is you'd have to detect how wide the terminal is to know if 
you've gone too far  ??

Just printing the two columns we have should be fine for basically any 
terminal. Anyone with a terminal with < ~30 characters can deal with it. Like 
they would for the compact format (where we assume ~100 chars)

> Make nodetool cfhistograms output easily understandable
> ---
>
> Key: CASSANDRA-6360
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6360
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tools
>Reporter: Tyler Hobbs
>Assignee: Tyler Hobbs
>Priority: Trivial
>
> Almost nobody understands the cfhistograms output without googling it.  By 
> default, we shouldn't share an axis across all metrics.  We can still provide 
> the current format with a --compact option.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CASSANDRA-6360) Make nodetool cfhistograms output easily understandable

2014-02-05 Thread Brandon Williams (JIRA)

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

Brandon Williams commented on CASSANDRA-6360:
-

The problem is you'd have to detect how wide the terminal is to know if you've 
gone too far, otherwise the output is going to be unreadable when it wraps.  
I'm fine with it the way it is.

> Make nodetool cfhistograms output easily understandable
> ---
>
> Key: CASSANDRA-6360
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6360
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tools
>Reporter: Tyler Hobbs
>Assignee: Tyler Hobbs
>Priority: Trivial
>
> Almost nobody understands the cfhistograms output without googling it.  By 
> default, we shouldn't share an axis across all metrics.  We can still provide 
> the current format with a --compact option.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CASSANDRA-6360) Make nodetool cfhistograms output easily understandable

2014-02-05 Thread Benedict (JIRA)

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

Benedict commented on CASSANDRA-6360:
-

It involves a lot of scrolling, which isn't ideal for terminal use as things 
stand. I think it would be nice to either print them side-by-side, or to 
coalesce adjacent buckets that contain little data. But I don't feel strongly 
about it, no.

> Make nodetool cfhistograms output easily understandable
> ---
>
> Key: CASSANDRA-6360
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6360
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tools
>Reporter: Tyler Hobbs
>Assignee: Tyler Hobbs
>Priority: Trivial
>
> Almost nobody understands the cfhistograms output without googling it.  By 
> default, we shouldn't share an axis across all metrics.  We can still provide 
> the current format with a --compact option.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CASSANDRA-6360) Make nodetool cfhistograms output easily understandable

2014-02-05 Thread Tyler Hobbs (JIRA)

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

Tyler Hobbs commented on CASSANDRA-6360:


bq. Might be nice to print them side by side?

If you don't feel strongly about it, I'd prefer to not do this just to save 
time, although I agree it might look better.

> Make nodetool cfhistograms output easily understandable
> ---
>
> Key: CASSANDRA-6360
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6360
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tools
>Reporter: Tyler Hobbs
>Assignee: Tyler Hobbs
>Priority: Trivial
>
> Almost nobody understands the cfhistograms output without googling it.  By 
> default, we shouldn't share an axis across all metrics.  We can still provide 
> the current format with a --compact option.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CASSANDRA-6360) Make nodetool cfhistograms output easily understandable

2014-01-31 Thread Benedict (JIRA)

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

Benedict commented on CASSANDRA-6360:
-

Might be nice to print them side by side?

> Make nodetool cfhistograms output easily understandable
> ---
>
> Key: CASSANDRA-6360
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6360
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tools
>Reporter: Tyler Hobbs
>Assignee: Tyler Hobbs
>Priority: Trivial
>
> Almost nobody understands the cfhistograms output without googling it.  By 
> default, we shouldn't share an axis across all metrics.  We can still provide 
> the current format with a --compact option.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CASSANDRA-6360) Make nodetool cfhistograms output easily understandable

2014-01-31 Thread Tyler Hobbs (JIRA)

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

Tyler Hobbs commented on CASSANDRA-6360:


I put up a 2.0 version of this here: 
https://github.com/thobbs/cassandra/tree/CASSANDRA-6360.  I'll update this for 
the new nodetool version after any bike-shedding.

Here's an example output:
{noformat}
~/cassandra $ bin/nodetool cfhistograms Keyspace1 Standard1
Keyspace1/Standard1 histograms

SSTables per Read
1 sstables: 1000

Write Latency (microseconds)
  86 us: 5
 103 us: 2
 124 us: 149
 149 us: 391
 179 us: 330
 215 us: 98
 258 us: 8
 310 us: 1
 372 us: 1
 446 us: 0
 535 us: 1
 642 us: 1
 770 us: 1
 924 us: 2
1109 us: 4
1331 us: 0
1597 us: 0
1916 us: 0
2299 us: 0
2759 us: 1
3311 us: 4
3973 us: 0
4768 us: 0
5722 us: 0
6866 us: 0
8239 us: 0
9887 us: 1

Read Latency (microseconds)
  60 us: 6
  72 us: 32
  86 us: 160
 103 us: 405
 124 us: 299
 149 us: 52
 179 us: 14
 215 us: 3
 258 us: 5
 310 us: 1
 372 us: 2
 446 us: 2
 535 us: 0
 642 us: 0
 770 us: 2
 924 us: 2
1109 us: 1
1331 us: 1
1597 us: 2
1916 us: 2
2299 us: 2
2759 us: 0
3311 us: 2
3973 us: 2
4768 us: 2
5722 us: 0
6866 us: 0
8239 us: 1

Partition Size (bytes)
No Data

Cell Count per Partition
No Data
{noformat}

To summarize:
* We only show the ranges for which we actually have data
* If there's no data, it just says "No Data"
* The old behavior is still available via {{\-c/\-\-compact}}

> Make nodetool cfhistograms output easily understandable
> ---
>
> Key: CASSANDRA-6360
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6360
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tools
>Reporter: Tyler Hobbs
>Assignee: Tyler Hobbs
>Priority: Trivial
>
> Almost nobody understands the cfhistograms output without googling it.  By 
> default, we shouldn't share an axis across all metrics.  We can still provide 
> the current format with a --compact option.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)