cuibo01 commented on pull request #16745:
URL: https://github.com/apache/flink/pull/16745#issuecomment-895790739


   > Hey @cuibo01 , hive has more than just `UGI Authenticator` and `Session 
Config Authenticator`. It can even be a customized implementation.
   
   right, almost all security clusters use UGI.
   
   > So it's not possible to support all of them unless we directly leverage 
the `HiveAuthenticationProvider` interface. But like I said, we can just use 
the UGI for now. Or is there any reason you must rely on the `user.name` 
configuration which has to be different from the UGI?
   
   i think flink should be able to set owner attribute in non-secure 
cluster,because authentication and authorization are different, and in 
non-secure cluster, the authentication is deabled, and the authorization may be 
enabled. and the UGI#currentUserName of each TM is the hostname of the current 
machine. so we can set owner through hiveconf
   


-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to