101 Messages
TO BE REVIEWED: DQ with DB2 and Kerberos and JAAS
Regarding using DQ with DB2 and Kerberos and JAAS, Brian Mearns shared this solution with us:
-
Have the jaas-conf (for DB2 connection) and the TGT on the agent host.
-
Add this to the agent freeform section
-file /path/to/tgt,/path/to/jaas-conf
- Along with
-conf “spark.driver.extraJavaOptions=-Djava.security.auth.login.config=jaas-conf”,“spark.executor.extraJavaOptions=-Djava.security.auth.login.config=jaas-conf”
- When JDBC fires, the DB2 driver should find the jaas-conf use that to find the TGT, and authenticate using Kerberos, assuming the krb5.conf is the same on agent and cluster.
No Responses!