zjffdu commented on a change in pull request #1291:
URL: https://github.com/apache/incubator-kyuubi/pull/1291#discussion_r735635801
##########
File path:
kyuubi-server/src/main/scala/org/apache/kyuubi/server/KinitAuxiliaryService.scala
##########
@@ -45,7 +45,8 @@ class KinitAuxiliaryService() extends
AbstractService("KinitAuxiliaryService") {
require(keytab.nonEmpty && principal.nonEmpty, "principal or keytab is
missing")
UserGroupInformation.loginUserFromKeytab(principal.get, keytab.get)
- val commands = Seq("kinit", "-kt", keytab.get, principal.get)
+ val krb5Conf = System.getProperty("java.security.krb5.conf")
Review comment:
It is possible to be null in case user doesn't set it. IIRC, the
default location is `/etc/krb5.conf`
--
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]