Member since
11-09-2018
4
Posts
0
Kudos Received
0
Solutions
11-14-2018
05:37 AM
Hi...Jay Thanks for the advice I missed this piece while updating the sudoers https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-security/content/sudo_defaults_agent.html
... View more
11-13-2018
08:31 PM
Hi... I have configured ambari agent with non root user hadoop. I am trying to start ambari metrics collector. but it keeps failing with the error below. ExecutionFailed: Execution of '/usr/sbin/ambari-metrics-monitor --config /etc/ambari-metrics-monitor/conf start' returned 1. sudo: no tty present and no askpass program specified Also I have updated the sudoers file with the below lines # Ambari metrics commands ams ALL=(ALL) NOPASSWD:SETENV: /usr/sbin/ambari-metrics-monitor *, /usr/sbin/ambari-metrics-collector * hadoop ALL=(ALL) NOPASSWD:SETENV: /usr/sbin/ambari-metrics-monitor *, /usr/sbin/ambari-metrics-collector * Still is does not work any idea which user ambari is using to start the services ?
... View more
Labels:
- Labels:
-
Apache Ambari