You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/06/29 21:10:00 UTC
[jira] [Updated] (AMBARI-24228) Agent-side command-*.json files
should optionally be deleted when no longer needed by the command
[ https://issues.apache.org/jira/browse/AMBARI-24228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated AMBARI-24228:
------------------------------------
Labels: pull-request-available (was: )
> Agent-side command-*.json files should optionally be deleted when no longer needed by the command
> -------------------------------------------------------------------------------------------------
>
> Key: AMBARI-24228
> URL: https://issues.apache.org/jira/browse/AMBARI-24228
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent
> Affects Versions: 2.1.0
> Reporter: Robert Levas
> Assignee: Robert Levas
> Priority: Critical
> Labels: pull-request-available
> Fix For: 2.7.0
>
>
> Agent-side _command JSON_ files ({{command-*.json}}, {{status_command.json}}) should optionally be deleted when no longer needed by the command. One reason for this is to reduce the risk of leaking sensitive data stored at plaintext in the _command JSON_ files.
> Currently the _command JSON_ files are stored on disk in /var/lib/ambari-agent/data. These files may be cleared out over time, but there is a need to have them removed as soon as they are no longer needed.
> To do this, a retention policy may be defined so that the Ambari agent behaves accordingly:
> * {{keep}}
> ** No automatic removal is performed
> ** This is the default behavior
> * {{remove}}
> ** The _command JSON_ file are remove as soon as the command completes
> * {{remove_on_success}}
> ** The _command JSON_ files are remove as soon as the command *successfully* completes
> ** The _command JSON_ files are not removed on failure conditions
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)