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

Hudson commented on AMBARI-9375:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #1644 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/1644/])
AMBARI-9375. Safety meassures: autoremove only packages that have repo version 
at their name (dlysnichenko) (dlysnichenko: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=aa27096762ddab99f16b150ecb67e9c86bac74d1)
* ambari-server/src/main/resources/custom_actions/scripts/install_packages.py
* ambari-server/src/test/python/custom_actions/TestInstallPackages.py


> Safety meassures: autoremove only packages that have repo version at their 
> name
> -------------------------------------------------------------------------------
>
>                 Key: AMBARI-9375
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9375
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9375.patch
>
>
> When performing distribute repositories/install packages action, we install 
> some packages one by one. If installation of some package fails, all 
> previously installed packages are removed.
> The risk here is to accidentally (e.g. in case of script bug) remove some 
> essential packages.
> We might want to add some check to remove only packages that have stack 
> version string in their name. Removing them should be enough in most cases 
> since shared packages tend to be installed from HDP-UTILS repo.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to