Cassandra 3.0 延迟统计不正确 [英] Cassandra 3.0 latency statistic incorrect

查看:20
本文介绍了Cassandra 3.0 延迟统计不正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经设置了新的 Cassandra 3.3 集群.然后我使用 jvisualvm 通过使用 MBean(jmx 指标)来监控 Cassandra 读/写延迟.

I have setup new Cassandra 3.3 cluster. Then I use jvisualvm to monitor Cassandra read/write latency by using MBean (jmx metric).

所有节点的读/写延迟结果在数周内始终保持稳定,而该集群中的读/写请求则正常移动(某些天很重或更少).

The result of read/write latency is always stable in all nodes for many weeks whereas read/write request in that cluster have normally movement (heavy or less in some day).

因为我使用 jvisualvm 来监控 Cassandra 2.0 集群.读/写延迟具有正常行为.它根据读取/连线请求进行移动.

As I use jvisualvm to monitor Cassandra 2.0 cluster. The read/write latency have normally behavior. It have movement depending on read/wire requests.

我想知道为什么Cassandra 3.0+的读/写延迟统计总是稳定的?而且我认为这是不正确的结果.(我已经在 Cassandra v3.3、v3.7 中进行了负载测试).

I wonder that Why the read/write latency statistics of Cassandra 3.0+ are always stable? And I think it is incorrect result. (I have load tested in Cassandra v3.3, v3.7).

[更新]我发现了与此问题相关的错误.

[Updated] I have found bug relate with this issue.

Cassandra 公制平面.https://issues.apache.org/jira/browse/CASSANDRA-11752

Cassandra metric flat. https://issues.apache.org/jira/browse/CASSANDRA-11752

详细说明这个问题在C* 2.2.8、3.0.9、3.8版本中已经解决.但是我在3.0.9版本测试后,延迟的结果仍然是平线.

The detail show that this problem has been solved in C* version 2.2.8, 3.0.9, 3.8. But after I have tested in version 3.0.9, The result of latency still show flat line.

有什么想法吗?

谢谢.

推荐答案

尚未发现任何度量问题 使用 C*3.3 时

have not found any metrics problem When using C*3.3

首先尝试用jconsole进行监控,遇到过同样的问题吗?

first,try to monitor with jconsole,have met same issue?

第二,你看到哪个属性?平均值还是百分比?那里的值总是从节点开始计数,所以看到百分比值是一样的很常见.但并不总是发生在平均值上.尝试重新启动 cassandra 节点并检查价值.

second,which attribute do you see?avg value or percentage?there value always count from node up,so it is common to see percentage value is same.but not always happens on average value.try to restart cassandra node and check the value.

这篇关于Cassandra 3.0 延迟统计不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆