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] [Updated] (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 03:05:00 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-12083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alejandro Fernandez updated AMBARI-12083:
-----------------------------------------
    Attachment:     (was: AMBARI-12083.branch-2.1patch)

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