You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "laneser kuo (JIRA)" <ji...@apache.org> on 2012/09/12 06:46:09 UTC
[jira] [Created] (CASSANDRA-4653) nodetool cfstats Lantecy unit is
wrong , it should be sec (seconds) instead of ms (micro seconds)
laneser kuo created CASSANDRA-4653:
--------------------------------------
Summary: nodetool cfstats Lantecy unit is wrong , it should be sec (seconds) instead of ms (micro seconds)
Key: CASSANDRA-4653
URL: https://issues.apache.org/jira/browse/CASSANDRA-4653
Project: Cassandra
Issue Type: Bug
Components: Tools
Reporter: laneser kuo
Priority: Trivial
I was mislead by the nodetool cfstats Read Latency and Write Latency data.
Until I read the source code, it should display sec instead of ms.
for example:
outs.println("\t\tRead Latency: " + String.format("%01.3f", cfstore.getRecentReadLatencyMicros() / 1000) + " ms.");
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4653) nodetool cfstats Lantecy unit
is wrong , it should be sec (seconds) instead of ms (micro seconds)
Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453832#comment-13453832 ]
Sylvain Lebresne commented on CASSANDRA-4653:
---------------------------------------------
Oh and maybe that's the confusion but ms stands for milliseconds, not microseconds (not sure for Cassandra, this is standard. The symbol for microseconds is µs).
> nodetool cfstats Lantecy unit is wrong , it should be sec (seconds) instead of ms (micro seconds)
> -------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-4653
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4653
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: laneser kuo
> Priority: Trivial
> Attachments: mstosec.txt
>
>
> I was mislead by the nodetool cfstats Read Latency and Write Latency data.
> Until I read the source code, it should display sec instead of ms.
> for example:
> outs.println("\t\tRead Latency: " + String.format("%01.3f", cfstore.getRecentReadLatencyMicros() / 1000) + " ms.");
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (CASSANDRA-4653) nodetool cfstats Lantecy unit is
wrong , it should be sec (seconds) instead of ms (micro seconds)
Posted by "laneser kuo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
laneser kuo closed CASSANDRA-4653.
----------------------------------
Thanks reply, after taking more time to read code,
the latency data comes from addNano , which is 10^-9 seconds,
then histograms store data in micro seconds, which is 10^-6 seconds,
and cfstats shows milliseconds, which is 10^-3 seconds.
> nodetool cfstats Lantecy unit is wrong , it should be sec (seconds) instead of ms (micro seconds)
> -------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-4653
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4653
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: laneser kuo
> Priority: Trivial
> Attachments: mstosec.txt
>
>
> I was mislead by the nodetool cfstats Read Latency and Write Latency data.
> Until I read the source code, it should display sec instead of ms.
> for example:
> outs.println("\t\tRead Latency: " + String.format("%01.3f", cfstore.getRecentReadLatencyMicros() / 1000) + " ms.");
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-4653) nodetool cfstats Lantecy unit is
wrong , it should be sec (seconds) instead of ms (micro seconds)
Posted by "laneser kuo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
laneser kuo updated CASSANDRA-4653:
-----------------------------------
Attachment: mstosec.txt
a simple patch for the issue.
> nodetool cfstats Lantecy unit is wrong , it should be sec (seconds) instead of ms (micro seconds)
> -------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-4653
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4653
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: laneser kuo
> Priority: Trivial
> Attachments: mstosec.txt
>
>
> I was mislead by the nodetool cfstats Read Latency and Write Latency data.
> Until I read the source code, it should display sec instead of ms.
> for example:
> outs.println("\t\tRead Latency: " + String.format("%01.3f", cfstore.getRecentReadLatencyMicros() / 1000) + " ms.");
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-4653) nodetool cfstats Lantecy unit is
wrong , it should be sec (seconds) instead of ms (micro seconds)
Posted by "laneser kuo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
laneser kuo updated CASSANDRA-4653:
-----------------------------------
Comment: was deleted
(was: a simple patch.)
> nodetool cfstats Lantecy unit is wrong , it should be sec (seconds) instead of ms (micro seconds)
> -------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-4653
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4653
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: laneser kuo
> Priority: Trivial
> Attachments: mstosec.txt
>
>
> I was mislead by the nodetool cfstats Read Latency and Write Latency data.
> Until I read the source code, it should display sec instead of ms.
> for example:
> outs.println("\t\tRead Latency: " + String.format("%01.3f", cfstore.getRecentReadLatencyMicros() / 1000) + " ms.");
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (CASSANDRA-4653) nodetool cfstats Lantecy
unit is wrong , it should be sec (seconds) instead of ms (micro seconds)
Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453832#comment-13453832 ]
Sylvain Lebresne edited comment on CASSANDRA-4653 at 9/12/12 7:37 PM:
----------------------------------------------------------------------
Oh and maybe that's the confusion but ms stands for milliseconds, not microseconds (not just for Cassandra, this is standard. The symbol for microseconds is µs).
was (Author: slebresne):
Oh and maybe that's the confusion but ms stands for milliseconds, not microseconds (not sure for Cassandra, this is standard. The symbol for microseconds is µs).
> nodetool cfstats Lantecy unit is wrong , it should be sec (seconds) instead of ms (micro seconds)
> -------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-4653
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4653
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: laneser kuo
> Priority: Trivial
> Attachments: mstosec.txt
>
>
> I was mislead by the nodetool cfstats Read Latency and Write Latency data.
> Until I read the source code, it should display sec instead of ms.
> for example:
> outs.println("\t\tRead Latency: " + String.format("%01.3f", cfstore.getRecentReadLatencyMicros() / 1000) + " ms.");
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira