[
https://issues.apache.org/jira/browse/AMBARI-12083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14598367#comment-14598367
]
Hudson commented on AMBARI-12083:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #2983 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/2983/])
AMBARI-12083. Installing Repo Packages needs to be more robust to handle the
actual_version installed when the script is killed because of a timeout
(alejandro) (afernandez:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7acbb8894d5b2f49470cd979550dcfcc6c13a9a9)
*
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/datanode.py
* ambari-server/src/test/python/custom_actions/TestInstallPackages.py
*
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/datanode_upgrade.py
* ambari-server/src/main/resources/custom_actions/scripts/install_packages.py
> Installing Repo Packages needs to be more robust to handle the actual_version
> installed when the script is killed because of a timeout
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AMBARI-12083
> URL: https://issues.apache.org/jira/browse/AMBARI-12083
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.1.0
> Reporter: Alejandro Fernandez
> Assignee: Alejandro Fernandez
> Priority: Critical
> Fix For: 2.1.0
>
> Attachments: AMBARI-12083.branch-2.1.patch, AMBARI-12083.patch
>
>
> When installing bits of a new repo to perform an RU, if the repo version does
> not contain a build number, then the actual_version has to be calculated.
> The problem is that this information can only be retrieved by calculating the
> delta of the versions when calling "hdp-select versions", so the only the
> first time will return a value. If the script is killed, then the
> actual_version will never be calculated and returned to the server.
> For this reason, the package installer must tolerate receiving a SIGINT or
> SIGTERM, and calculate the actual_version. Further, it helps to store it in a
> file, in case that the response or something upstream results in another
> failure.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)