You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Chaoyu Tang (JIRA)" <ji...@apache.org> on 2016/07/29 18:21:20 UTC
[jira] [Assigned] (HIVE-14383) SparkClientImpl should pass
principal and keytab to spark-submit instead of calling kinit explicitely
[ https://issues.apache.org/jira/browse/HIVE-14383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chaoyu Tang reassigned HIVE-14383:
----------------------------------
Assignee: Chaoyu Tang
> 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
> Assignee: Chaoyu Tang
>
> 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)