CDH 解决 “查询 Service Monitor 时发生内部错误”

进入 7180 界面之后,所有的监控面板都是没有任何数据的,显示 查询 Service Monitor 时发生内部错误
tail -f /var/log/cloudera-scm-firehose/* 查看日志,发现不断的有接下来的报错

2017-12-26 15:11:47,521 ERROR com.cloudera.cmon.tstore.leveldb.LDBPartitionManager: Failed to open or create partition
com.cloudera.cmon.tstore.leveldb.LDBPartitionManager$LDBPartitionException: Directory containing partition doesn't exist= /var/lib/cloudera-service-monitor/ts/stream/partitions/stream_2017-12-21T06:28:49.865Z. table=stream, partition=LDBPartitionMetadataWrapper{tableName=stream, partitionName=stream_2017-12-21T06:28:49.865Z, startTime=2017-12-21T06:28:49.865Z, endTime=null, version=2, state=CLOSED}

去网上搜了一定时间,发现提到的解决方案 一共两种,增大堆内存,以及 删掉 /var/lib/cloudera-service-monitor,

相关链接 Solved: Service Monitor doesn’t start – Cloudera Community

http://blog.csdn.net/levy_cui/article/details/53214853

增大内存到2G没啥用,重启,还是挂,然后按照第一个连接的建议,先停止系统,然后 删掉 /var/lib/cloudera-service-monitor , 然后重启,发现被删掉的 /var/lib/cloudera-service-monitor 自动重新创建,然后 面板开始有了数据,/var/log/cloudera-scm-firehose 下面的日志文件也不再报错, good,问题解决

Leave a comment

Your email address will not be published.

*