You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Akhil S Naik (JIRA)" <ji...@apache.org> on 2019/02/06 02:36:00 UTC
[jira] [Updated] (AMBARI-25057) Script to delete an old HDP stack
version - BUG
[ https://issues.apache.org/jira/browse/AMBARI-25057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akhil S Naik updated AMBARI-25057:
----------------------------------
Affects Version/s: trunk
> Script to delete an old HDP stack version - BUG
> -----------------------------------------------
>
> Key: AMBARI-25057
> URL: https://issues.apache.org/jira/browse/AMBARI-25057
> Project: Ambari
> Issue Type: Bug
> Components: ambari-sever
> Affects Versions: trunk, 2.6.2
> Reporter: Sankar Mukherjee
> Assignee: Akhil S Naik
> Priority: Minor
> Labels: patch
>
> As per the Jira https://issues.apache.org/jira/browse/AMBARI-18435 an API call to remove older versions was developed but its having issue.
>
> ambari-server/src/main/resources/custom_actions/scripts/remove_previous_stacks.py [line: 67]
> Execute(('rm', '-f', stack_root + version), sudo=True)
> It will not delete the directory as there is no such directory, it should be:
> Execute(('rm', '-f', stack_root *++'/'++* version), sudo=True)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)