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

Hudson commented on AMBARI-18435:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #81 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/81/])
AMBARI-18435. Provide script to delete an old HDP stack version (dlysnichenko: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a6c12bfc3df56d4b8a4f178edfc60bed48a449d4])
* (edit) 
ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py
* (edit) ambari-agent/src/test/python/ambari_agent/TestHostInfo.py
* (edit) 
ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml
* (add) ambari-server/src/test/python/custom_actions/TestRemoveStackVersion.py
* (add) 
ambari-server/src/main/resources/custom_actions/scripts/remove_previous_stacks.py
* (add) 
ambari-server/src/test/python/custom_actions/configs/remove_previous_stacks.json


> Provide script to delete an old HDP stack version
> -------------------------------------------------
>
>                 Key: AMBARI-18435
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18435
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>         Attachments: AMBARI-18435.patch
>
>
> We need a script or hacky solution internally for base-cluster to be able to 
> delete old HDP stacks.
> This does not need to be a full-blown feature with tons of bells and whistles 
> and UI support.
> Instead, it needs to be a simple script that can be ran on all hosts.
> Ideally, it would accept the version of the stack to remove, and perhaps can 
> go into contrib.
> If we want to make it slightly better, than we can figure out how to actually 
> make it a custom command to remove older versions (value is less than the 
> CURRENT version).
> If done this way, we can add checks to make it more robust, bubble up errors 
> to the UI task output, etc.



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

Reply via email to