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

[commands] Check if Oozie is enabled in desktop document cleanup #3430

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

wing2fly
Copy link
Collaborator

@wing2fly wing2fly commented Aug 8, 2023

What changes were proposed in this pull request?

In some cluster, the Oozie is not enabled, so it is blacklisted app. document cleanup will failed with error:

RuntimeError: Model class oozie.models.Job doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.

How was this patch tested?

Manually tested with oozie enabled or disabled

Please review Hue Contributing Guide before opening a pull request.

Copy link
Contributor

@ranade1 ranade1 left a comment

Choose a reason for hiding this comment

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

+1

Copy link
Collaborator

@quadoss quadoss left a comment

Choose a reason for hiding this comment

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

LGTM

@wing2fly wing2fly merged commit bb1b216 into master Aug 16, 2023
2 checks passed
@wing2fly wing2fly deleted the doc_cleanup_oozie branch August 16, 2023 16:43
tabraiz12 pushed a commit that referenced this pull request Oct 4, 2023
wing2fly added a commit that referenced this pull request Mar 6, 2024
…cleanup (#3430)

(cherry picked from commit bb1b216)
(cherry picked from commit 4b7bddb)
Change-Id: I071384f19a98f738dd3ee3a19f90036c8b096005
(cherry picked from commit e9760f0)
athithyaaselvam pushed a commit that referenced this pull request Mar 14, 2024
…cleanup (#3430)

(cherry picked from commit bb1b216)
(cherry picked from commit 4b7bddb)
Change-Id: I071384f19a98f738dd3ee3a19f90036c8b096005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants