无法启动ambari-metrics监视器

时间:2015-11-17 06:22:36

标签: ambari

我将我的ambari指标监视器配置从嵌入式更改为分布式和重新启动的服务,但在其中一个主机中出现以下错误

On host <hostname> role METRICS_MONITOR in invalid state.
Invalid transition. Invalid event: HOST_SVCCOMP_OP_IN_PROGRESS at UNKNOWN

我无法理解我应该做些什么来让这个工作

1 个答案:

答案 0 :(得分:0)

update ambari.hostcomponentstate set current_state='INSTALLED' where component_name = 'METRICS_MONITOR' and current_state = 'INIT';

然后重启ambari-server和ambari-agent。重新应用您的更改。

参考:https://community.hortonworks.com/questions/10246/error-role-in-invalid-state.html