Description
In https://github.com/apache/hive/blob/master/spark-client/src/main/java/org/apache/hive/spark/client/SparkClientImpl.java#L331, kinit is manually called before spark-submit is called. This is problematic if the spark session outlives the delegation token expiry period or the kerberos ticket expiry period. A better way to handle this would be to pass the keytab file location and principal name as parameters to the spark-submit command when kerberos auth is in use.
Attachments
Attachments
Issue Links
- blocks
-
HIVE-15485 Investigate the DoAs failure in HoS
- Resolved
- is related to
-
HIVE-10594 Remote Spark client doesn't use Kerberos keytab to authenticate [Spark Branch]
- Closed