Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
trunk, 2.7.0
Description
- While starting the AMS collector we can see that it has two slash in the PID file path "/var/run/ambari-metrics-collector//hbase-ams-regionserver.pid" . Also "/var/run/ambari-metrics-collector//hbase-ams-master.pid" . which does not look good and seems error prone. It should be removed.
Execute['/usr/lib/ams-hbase/bin/hbase-daemon.sh --config /etc/ams-hbase/conf stop regionserver'] {'on_timeout': 'ls /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid >/dev/null 2>&1 && ps `cat /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid` >/dev/null 2>&1 && ambari-sudo.sh -H -E kill -9 `ambari-sudo.sh cat /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid`', 'timeout': 30, 'user': 'ams'}
Attachments
Issue Links
- links to