hutiefang76 opened a new pull request, #7555:
URL: https://github.com/apache/kyuubi/pull/7555

   ### Why are the changes needed?
   
   Closes #2470.
   
   `RuleAuthorization.checkPrivileges` currently has no Ranger performance 
trace around privilege-request construction and evaluation. This adds the 
established `sparkauth.request` tracer around the complete authorization path 
and logs it from `finally`, so both successful checks and exceptions finish the 
timing record without changing authorization results.
   
   ### How was this patch tested?
   
   - `JAVA_HOME=$(/usr/libexec/java_home -v 17) ./dev/reformat`
   - `JAVA_HOME=$(/usr/libexec/java_home -v 17) ./build/mvn -pl 
extensions/spark/kyuubi-spark-authz -am 
-DwildcardSuites=org.apache.kyuubi.plugin.spark.authz.ranger.InMemoryCatalogRangerSparkExtensionSuite
 -DskipITs test`
     - 16 tests passed, including a new assertion that captures the performance 
trace on both successful and denied authorization paths.
   - `git diff --check`
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Assisted-by: OpenAI Codex with GPT-5
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to