Skip to content

RANGER-4747: Add exception handling in docker based service creation#300

Merged
mneethiraj merged 2 commits into
apache:masterfrom
kumaab:RANGER-4747
Mar 13, 2024
Merged

RANGER-4747: Add exception handling in docker based service creation#300
mneethiraj merged 2 commits into
apache:masterfrom
kumaab:RANGER-4747

Conversation

@kumaab
Copy link
Copy Markdown
Contributor

@kumaab kumaab commented Mar 13, 2024

What changes were proposed in this pull request?

create-ranger-services.py creates ranger services after ranger is up in a docker container.
If service creation for hdfs fails, subsequent service creation is aborted, the PR aims to fix this behavior.

How was this patch tested?

Tested the changes by bringing up ranger in a container and below are the installation logs seen when only trino is packaged with ranger.

Screenshot 2024-03-13 at 12 29 05 PM

@kumaab kumaab requested a review from mneethiraj March 13, 2024 19:30
@kumaab kumaab self-assigned this Mar 13, 2024
@kumaab kumaab added the testing complete PR testing is complete label Mar 13, 2024
@mneethiraj mneethiraj merged commit 05cba73 into apache:master Mar 13, 2024
@kumaab kumaab deleted the RANGER-4747 branch March 13, 2024 22:41
docherak pushed a commit to docherak/ranger that referenced this pull request Mar 14, 2024
…pache#300)

RANGER-4747: added exception handling in service creation during docker setup

Co-authored-by: abhishek-kumar <abhishek.kumar@cloudera.com>
mneethiraj pushed a commit that referenced this pull request Jun 20, 2024
…300)

RANGER-4747: added exception handling in service creation during docker setup

Co-authored-by: abhishek-kumar <abhishek.kumar@cloudera.com>
(cherry picked from commit 05cba73)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing complete PR testing is complete

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants