Aravindan Vijayan created AMBARI-14657:
------------------------------------------
Summary: Stop All services fails at AMS on cluster with NN HA
enabled, with non root Ambari user and AMS in distributed mode.
Key: AMBARI-14657
URL: https://issues.apache.org/jira/browse/AMBARI-14657
Project: Ambari
Issue Type: Bug
Components: ambari-metrics
Affects Versions: 2.2.1
Reporter: Aravindan Vijayan
Assignee: Aravindan Vijayan
Priority: Critical
Fix For: 2.2.1
PROBLEM
On a cluster with NN HA enabled, non root Ambari user and AMS in distributed
mode, STOP ALL services command fails at AMS.
BUG
Wrong role command ordering between Journal Node and AMS caused Journal Node to
be stopped before AMS. Hence, graceful shut down of AMS HBase in distributed
mode failed. The fall back option to kill the HBase daemon also failed because
of insufficient permissions for the non root ambari user.
FIX
Fix the role command ordering and use the ambari sudo helper to give
permissions to the fallback kill command.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)