ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aravindan Vijayan" <>
Subject Re: Review Request 42279: AMBARI-14657 : Stop All services fails at AMS on cluster with NN HA enabled, with non root Ambari user and AMS in distributed mode.
Date Thu, 14 Jan 2016 00:45:46 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Jan. 14, 2016, 12:45 a.m.)

Review request for Ambari, Andrew Onischuk, Dmytro Sen, Sumit Mohanty, and Sid Wagle.

Bugs: AMBARI-14657

Repository: ambari


On a cluster with NN HA enabled, non root Ambari user and AMS in distributed mode, STOP ALL
services command fails at AMS.

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 the role command ordering and use the ambari sudo helper to give permissions to the fallback
kill command.


  ambari-server/src/main/resources/stacks/HDP/2.0.6/role_command_order.json f5ecd7b 
  ambari-server/src/test/python/stacks/2.0.6/AMBARI_METRICS/ 52bac97


Testing (updated)

Manual testing done to trigger both the issues (Role command ordering and Sudo) sepearately
and together.

ambari-server unit tests pass.

Submitted patch through Apache.

Java unit tests running locally.

Manual testing also done with AMS embedded mode to make sure no regression has been caused.


Aravindan Vijayan

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message