[
https://issues.apache.org/jira/browse/AMBARI-24844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated AMBARI-24844:
------------------------------------
Labels: pull-request-available (was: )
> Improve copy of atlas.war
> -------------------------
>
> Key: AMBARI-24844
> URL: https://issues.apache.org/jira/browse/AMBARI-24844
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-server
> Reporter: Doroszlai, Attila
> Assignee: Doroszlai, Attila
> Priority: Major
> Labels: pull-request-available
>
> Atlas Metadata Server's start script in Ambari includes a step to copy
> {{atlas.war}} from the default location to the {{expanded_webapp_dir}}. This
> is performed using {{File(content=StaticFile)}}, which reads and writes the
> contents of the war file to/from memory. It may take 2-4 seconds to perform,
> and is done even if the source and target files are the same, because there
> is no check on the paths.
> This could be improved:
> # Use {{cp}} to copy
> # Skip the operation if source and target are the same
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)