Code of Conduct
Search before asking
Describe the feature
Currently the RangerSparkExtension checks for kyuubi.session.user for getting the user name from SparkContext. Need to add a fallback to check for spark.connect.session.user if the above is null
Motivation
Using spark-connect and Ranger for the RBAC, need this to identify the user.
Describe the solution
Similar to how we check kyuubi.session.user, we would also check spark.connect.session.user
Additional context
PR for propagating spark.connect.session.user from SparkConnect - https://github.com/apache/spark/pull/55917/changes
Are you willing to submit PR?
Code of Conduct
Search before asking
Describe the feature
Currently the RangerSparkExtension checks for kyuubi.session.user for getting the user name from SparkContext. Need to add a fallback to check for spark.connect.session.user if the above is null
Motivation
Using spark-connect and Ranger for the RBAC, need this to identify the user.
Describe the solution
Similar to how we check kyuubi.session.user, we would also check spark.connect.session.user
Additional context
PR for propagating spark.connect.session.user from SparkConnect - https://github.com/apache/spark/pull/55917/changes
Are you willing to submit PR?