ambari metrics collector服务未启动

mnemlml8  于 2021-05-31  发布在  Hadoop
关注(0)|答案(1)|浏览(783)

我已使用以下服务设置了ambari-2.7.5:
高密度光纤
Yarn
MapReduce2
数据库
Zookeeper
下层溶液
Ambari指标
阿特拉斯
Kafka
诺克斯
日志搜索
除ambari metrics外,所有服务均处于绿色状态。我已经使用github.com/apache/ambari-metrics构建了ambari metrics收集器rpm。在启动ambari metrics时,该过程遇到以下错误

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/AMBARI_METRICS/package/scripts/metrics_collector.py", line 90, in <module>
    AmsCollector().execute()
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 355, in execute
    self.execute_prefix_function(self.command_name, 'post', env)
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 386, in execute_prefix_function
    method(env)
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 428, in post_start
    raise Fail("Pid file {0} doesn't exist after starting of the component.".format(pid_file))
resource_management.core.exceptions.Fail: Pid file /var/run/ambari-metrics-collector//hbase-ams-master.pid doesn't exist after starting of the component.

rdrgkggo

rdrgkggo1#

@Rohitharma您应该能够在ambari 2.7.5版本中构建正确的ambari公制RPM。
在ambari 2.7.5的安装指南中,有以下步骤:

pushd ambari-metrics
mvn versions:set -DnewVersion=2.7.5.0.0
popd

接下来在ambari开发页面上,您应该可以找到以下详细信息:

您需要的RPM是:

ambari-metrics-2.7.5.0-0.noarch.rpm
ambari-metrics-collector-2.7.5.0-0.x86_64.rpm
ambari-metrics-grafana-2.7.5.0-0.x86_64.rpm
ambari-metrics-hadoop-sink-2.7.5.0-0.x86_64.rpm
ambari-metrics-monitor-2.7.5.0-0.x86_64.rpm

相关问题