You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2018/10/29 20:13:04 UTC
[jira] [Created] (AMBARI-24844) Improve copy of atlas.war
Doroszlai, Attila created AMBARI-24844:
------------------------------------------
Summary: 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
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)