Dmitry Lysnichenko created AMBARI-9375:
------------------------------------------

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




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