You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/02/24 20:53:19 UTC

[jira] [Commented] (AMBARI-14657) Stop All services fails at AMS on cluster with NN HA enabled, with non root Ambari user and AMS in distributed mode.

    [ https://issues.apache.org/jira/browse/AMBARI-14657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15163631#comment-15163631 ] 

Hudson commented on AMBARI-14657:
---------------------------------

ABORTED: Integrated in Ambari-trunk-Commit #4382 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4382/])
AMBARI-14657 : Stop All services fails at AMS on cluster with NN HA (ncole: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=8796f5e21cc0b9d95e595354f28a5ae722eba4f4])
* ambari-server/src/test/python/stacks/2.0.6/AMBARI_METRICS/test_metrics_collector.py
* ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/hbase_service.py
* ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams_service.py
* ambari-server/src/main/resources/stacks/HDP/2.0.6/role_command_order.json


> 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
>
>         Attachments: AMBARI-14657.patch
>
>
> 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)