Mubashir Kazia created HIVE-14383: ------------------------------------- Summary: SparkClientImpl should pass principal and keytab to spark-submit instead of calling kinit explicitely Key: HIVE-14383 URL: https://issues.apache.org/jira/browse/HIVE-14383 Project: Hive Issue Type: Improvement Components: Spark Affects Versions: 2.1.0 Reporter: Mubashir Kazia
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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)