0

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

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

我无法理解我应该做些什么改变才能让它工作

4

1 回答 1

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

于 2016-11-17T10:39:48.453 回答