[
https://issues.apache.org/jira/browse/AMBARI-24844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16671605#comment-16671605
]
Hudson commented on AMBARI-24844:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #399 (See
[https://builds.apache.org/job/Ambari-branch-2.7/399/])
AMBARI-24844. Improve copy of atlas.war (#2558) (github:
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=a750bf11d4c7f24c901ee2d87c1d746870da6747])
* (edit)
ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata.py
* (edit) ambari-server/src/test/python/stacks/2.3/ATLAS/test_metadata_server.py
* (edit) ambari-server/src/test/python/stacks/2.5/ATLAS/test_atlas_server.py
> 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
> Time Spent: 50m
> Remaining Estimate: 0h
>
> 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 1-3 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)