Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMBARI-25057 Script to delete an old HDP stack version - BUG #2815

Closed
wants to merge 1 commit into from

Conversation

Akhilsnaik
Copy link

What changes were proposed in this pull request?

AMBARI-25057 Script to delete an old HDP stack version - BUG
(Please fill in changes proposed in this fix)

How was this patch tested?

(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)

Please review Ambari Contributing Guide before opening a pull request.

@Akhilsnaik
Copy link
Author

@hapylestat ,
Could you please help me review this BUG

@asfgit
Copy link

asfgit commented Feb 6, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4916/
Test FAILed.
Test FAILured.

@Akhilsnaik
Copy link
Author

retest this please

@asfgit
Copy link

asfgit commented Feb 11, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4925/
Test FAILed.
Test FAILured.

@@ -64,7 +64,7 @@ def remove_stack_folder(self, structured_output, version):

Logger.info("Removing {0}/{1}".format(stack_root, version))
try:
Execute(('rm', '-f', stack_root + version),
Execute(('rm', '-f', stack_root + '/' + version),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please, consider using os.path.join for path concatenations

@hapylestat hapylestat requested a review from a user February 11, 2019 04:36
@hapylestat hapylestat added agent Ambari Agent and removed agent Ambari Agent labels Feb 11, 2019
@Akhilsnaik Akhilsnaik closed this Sep 29, 2022
@Akhilsnaik Akhilsnaik deleted the AMBARI-25057 branch September 29, 2022 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants