Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KYUUBI #1291] [TEST] Transfer KRB5_CONF to kinit and fix kerberos UT…
… on macOS ### _Why are the changes needed?_ 1. transfer KRB5_CONF of KyuubiServer to kinit process in case the system KRB5_CONF is not same with `java.security.krb5.conf` of KyuubiServer JVM. 2. The UT with kerberos enabled KyuubiServer can not pass on osx environment, such as `KyuubiOperationKerberosAndPlainAuthSuite` (#1266). For the root cause, see details in https://stackoverflow.com/questions/27053539/openldap-kerberos-unable-to-reach-any-kdc-in-realm ### _How was this patch tested?_ `KyuubiOperationKerberosAndPlainAuthSuite` can pass on my MacBook, without this PR, it will fail on MacBook. Closes #1291 from turboFei/kinit_ut. Closes #1291 f006054 [fwang12] complete KRB5_CONFIG 859538c [fwang12] Make kerberos enabled kyuubi server unit test runnable for osx environment Authored-by: fwang12 <fwang12@ebay.com> Signed-off-by: Cheng Pan <chengpan@apache.org>
- Loading branch information