You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Sankar Mukherjee (JIRA)" <ji...@apache.org> on 2018/12/20 11:27:00 UTC
[jira] [Created] (AMBARI-25057) Script to delete an old HDP stack
version - BUG
Sankar Mukherjee created AMBARI-25057:
-----------------------------------------
Summary: 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: 2.6.2
Reporter: Sankar Mukherjee
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)