|Pivotal HD (PHD)||3.0.1|
Installation of PHD 3.0.1 via Ambari may fail while installing the component, Ambari Metrics Collector. An error message is seen as shown below.
The error details in the Ambari and /var/log/ambari-server/ambari-server.log will be shown as follows:
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install ambari-metrics-monitor' returned 1. Error: Package: ambari-metrics-monitor-126.96.36.199-163.x86_64 (AMBARI-188.8.131.52)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
The reason for this issue is that the python-devel package has not been installed on at least one of the nodes in the cluster.
- Confirm which of the nodes is missing the python-devel package:
rpm -qa | grep python-devel
- Install python-devel on the nodes where it is missing. Depending on the OS, this can be doneviazypper, RPM, or with yum using a command such as the one shown here:
yum install python-devel