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

[jira] [Commented] (AMBARI-17507) Provide an option not to log ambari-agent command output for user custom script action

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

Hudson commented on AMBARI-17507:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #5209 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5209/])
AMBARI-17507. Provide an option not to log ambari-agent command output (smohanty: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=8d83ea62c689d556dd104fcb624ca4537a796b53])
* ambari-agent/src/test/python/ambari_agent/TestActionQueue.py
* ambari-agent/src/main/python/ambari_agent/ActionQueue.py
* ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
* ambari-server/src/main/java/org/apache/ambari/server/agent/ExecutionCommand.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java


> Provide an option not to log ambari-agent command output for user custom script action
> --------------------------------------------------------------------------------------
>
>                 Key: AMBARI-17507
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17507
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Sumit Mohanty
>            Assignee: Sumit Mohanty
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17507.patch
>
>
> Custom commands is a way to create a set of commands that can perform specific actions on the cluster. Class of actions typically involve initialization, setup, and cleanup - different than the start/stop/configure/install etc.
> By default all command output gets logged. It should be possible for the command to indicate if the output should be logged if the command may output PII information.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)