定期清理cloudera manager server的磁盘空间
1 停止Service Monitor和Host Monitor
2 删除日志
# /bin/rm /var/lib/cloudera-host-monitor/ts/*/partition*/* -rf
# /bin/rm /var/lib/cloudera-service-monitor/ts/*/partition*/* -rf
3 重启Service Monitor和Host Monitor
确认新的日志和元数据文件是否生成
# ls /var/lib/cloudera-service-monitor/ts/stream/partitions
# ls /var/lib/cloudera-service-monitor/ts/stream/partition_metadata/
确认页面上的图表是否有数据