ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (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
Date Tue, 23 Jun 2015 18:36:02 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-12083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14598143#comment-14598143
] 

Alejandro Fernandez commented on AMBARI-12083:
----------------------------------------------

Pushed to trunk in commit 7acbb8894d5b2f49470cd979550dcfcc6c13a9a9
Pushed to branch-2.1 in commit 4f06c859d436840a819f8b429eb66d662f5d1c96

> 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)

Mime
View raw message