简体   繁体   中英

Using JMX to monitor Cassandra's disk related failures

Cassandra (2.0.7) has two parameters to configure disk failures policies

  • My configuration of /etc/cassandra/cassandra.yaml
    • commit_failure_policy = stop_commit
    • disk_failure_policy=best_effort

What are the JMX attributes that designate commit_log / disks failures?

(My goal is to monitor situations when the policies were triggered.)

我不确定是否还有其他有用的MBean,但是在发生文件系统异常时,best_effort策略会设置org.apache.cassandra.db.BlackListedDirectories。{UnvisibleDirectories,UnwritableDirectories}。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM