【发布时间】:2013-05-28 03:59:12
【问题描述】:
我正在尝试使用 JMXMeter 来监控 Cassandra 活动连接;但是根据文档,当我运行时,它应该得到如下结果
$>info
#mbean = org.apache.cassandra.db:type=Commitlog
#class name = org.apache.cassandra.db.commitlog.
PeriodicCommitLogExecutorService
# attributes
%0 - ActiveCount (int, r)
%1 - CompletedTasks (long, r)
%2 - PendingTasks (long, r)
#there’s no operations
#there’s no notifications
但是我得到如下
$>info
#mbean = org.apache.cassandra.db:type=Commitlog
#class name = org.apache.cassandra.db.commitlog.CommitLog
# attributes
%0 - ActiveSegmentNames (java.util.List, r)
%1 - ArchivingSegmentNames (java.util.List, r)
%2 - CompletedTasks (long, r)
%3 - PendingTasks (long, r)
%4 - TotalCommitlogSize (long, r)
# operations
%0 - void recover(java.lang.String p1)
#there's no notifications
如您所见;我没有获得 ActiveCount() 属性,而是获得了 ActiveSegmentNames () 和 ArchivingSegmentNames()。我正在寻找监视活动连接的属性。
我正在使用 apache-cassandra-1.2.3。
请帮忙。
谢谢, 迪利普
【问题讨论】:
标签: cassandra