zhouyifan279 edited a comment on pull request #1289:
URL: https://github.com/apache/incubator-kyuubi/pull/1289#issuecomment-950800063


   Currently `kinit -kt` mainly because it will create a kerberos ticket cache 
file (default path: /tmp/krb5cc_$UID).  This file is used both by Kyuubi server 
and `spark-submit.sh` to authenticate with other services(hadoop hive 
zookeeper).
   In contrast, `UserGroupInformation#reloginFromKeyTab` can not do that.
   
   If we want to remove the requirement of `kinit`, we should also provide some 
kind of credentials for `spark-submit.sh`.
   Or `spark-submit.sh` will fail due to  no valid ticket cache is available.


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


Reply via email to