-
Notifications
You must be signed in to change notification settings - Fork 919
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
[Bug] engine.share.level=GROUP takes only first AD Group if the user is part of multiple AD Groups #6402
Labels
Comments
That sounds reasonable, and if you look at the code, it's easy to implement such a functionality. For example, we can define a |
Madhukar525722
added a commit
to Madhukar525722/kyuubi
that referenced
this issue
Oct 23, 2024
Madhukar525722
added a commit
to Madhukar525722/kyuubi
that referenced
this issue
Oct 23, 2024
4 tasks
Madhukar525722
added a commit
to Madhukar525722/kyuubi
that referenced
this issue
Oct 25, 2024
Madhukar525722
added a commit
to Madhukar525722/kyuubi
that referenced
this issue
Oct 25, 2024
Madhukar525722
added a commit
to Madhukar525722/kyuubi
that referenced
this issue
Oct 26, 2024
Madhukar525722
added a commit
to Madhukar525722/kyuubi
that referenced
this issue
Oct 26, 2024
Madhukar525722
added a commit
to Madhukar525722/kyuubi
that referenced
this issue
Oct 29, 2024
Madhukar525722
added a commit
to Madhukar525722/kyuubi
that referenced
this issue
Nov 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code of Conduct
Search before asking
Describe the bug
If the user is part of multiple AD Groups and when engine.share.level is set to group, hadoop returns all groups that the user is part of but kyuubi takes the first group from that list.
Then it expects that particular AD Group to be a valid YARN user and submits job as that user.
In the below error logs, out of all the AD Group the user is part of, it pick the first one i.e Internet_User and checks if that is a valid YARN user. If it is not, it throws the error
Expected Behaviour
We should be able to provide the list of AD Group kyuubi has to check if the user is part of. If found a match, then job should be launched as the user and not as that AD Group. Multiple users part of the same AD Group will have the same session, resources, etc but the job will be submitted by those users only
Affects Version(s)
1.8.2
Kyuubi Server Log Output
Kyuubi Engine Log Output
No response
Kyuubi Server Configurations
No response
Kyuubi Engine Configurations
No response
Additional context
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: