ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Myroslav Papyrkovskyy <>
Subject НА: ambari-metrics error on install - anyone see this or have an idea what is missing
Date Sat, 28 Mar 2015 16:36:55 GMT
Hello. Your issue is quite simple. With current build process Ambari and Ambari Metrics are
pretty wired so they come in single repository. You install server and agent from custom rpms
so you don't have ambari.repo on your hosts.
I can suggest adding ambari repository to nodes even if you don't use it for ambari itself
or build and install metrics rpms also. 
Myroslav Papirkovskyy

Від: Scott Creeley []
Надіслано: 27 березня 2015 р. 22:59
Тема: ambari-metrics error on install - anyone see this or have an idea what is missing

Hi Everyone,
I'm experimenting with latest 2.0.0 trunk and added a new stack HDP/2.3.GlusterFS.

I've included ambari-metrics as one of the deployed services...all services are installing
ok, but ambari-metrics is failing and not sure what is missing, the error is pretty vague.

I'm building ambari and deploying the ambari-server and ambari-agents rpms directly to my
VMs and installing them.  Any thoughts on this error?

2015-03-27 16:41:35,399 - SCOTT compare_versions versions = 2.2
2015-03-27 16:41:35,548 - Package['ambari-metrics-collector'] {}
2015-03-27 16:41:35,963 - Installing package ambari-metrics-collector ('/usr/bin/yum -d 0
-e 0 -y install ambari-metrics-collector')
2015-03-27 16:41:39,869 - Error while executing command 'install':
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 214, in execute
  File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/",
line 32, in install
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 289, in install_packages
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 148, in __init__
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 152,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 118,
in run_action
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/",
line 43, in action_install
    self.install_package(package_name, self.resource.use_repos)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/",
line 51, in install_package
    shell.checked_call(cmd, sudo=True, logoutput=self.get_logoutput())
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 69, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 87, in checked_call
    return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait_for_finish, timeout,
path, sudo, on_new_line)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 205, in
    raise Fail(err_msg)
Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install ambari-metrics-collector' returned 1.
Error: Nothing to do
2015-03-27 16:41:39,901 - SCOTT input = 2.3.GlusterFS

View raw message