zhouyifan279 commented on issue #5369:
URL: https://github.com/apache/kyuubi/issues/5369#issuecomment-1759486971

   @mrtisttt `kyuubi.engine.user` is supposed to be a server level parameter. 
   
   Besides, your comment mentioned a situation I did not consider before:
   1. `kyuubi.engine.user` is not set
   2. User `Tom` launched a SparkSQLEngine
   3. `kyuubi.engine.user` is set to `kyuubi` and kyuubi server is restarted
   4. User `Tom` connects to kyuubi server again
   5. an `EngineRef` with `appUser=kyuubi` and `engineSpaceUser=Tom` is created
   6. `HadoopCredentialsManager` will send credentials of `kyuubi` to 
SparkSQLEngine using  credentials of `Tom`
   
   The last step changes the `UserGroupInformation` of SparkSQLEngine from 
`Tom` to `kyuubi`. It will probably result in many unexpected behavior.
   


-- 
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