-
Notifications
You must be signed in to change notification settings - Fork 949
Open
Labels
Description
Code of Conduct
- I agree to follow this project's Code of Conduct
Search before asking
- I have searched in the issues and found no similar issues.
Describe the feature
Constantize some properties to reduce object creation:
- AccessRequest initialization requires reflection methods:
Lines 48 to 52 in cad5a39
val roles = invokeAs[JSet[String]]( SparkRangerAdminPlugin, "getRolesFromUserAndGroups", (classOf[String], userName), (classOf[JSet[String]], userGroups))
RuleHelper.ugi(different sparkSession may have different authz ugi):Line 50 in cad5a39
def ugi: UserGroupInformation = AuthZUtils.getAuthzUgi(spark.sparkContext)
Motivation
No response
Describe the solution
No response
Additional context
No response
Are you willing to submit PR?
- Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
- No. I cannot submit a PR at this time.