[ 
https://issues.apache.org/jira/browse/HIVE-14383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15401371#comment-15401371
 ] 

Chaoyu Tang edited comment on HIVE-14383 at 7/31/16 10:13 PM:
--------------------------------------------------------------

The failed tests seem not related to this patch. Commit patch to 2.2.0 and 
2.1.1. Thanks [~xuefuz] for review.


was (Author: ctang.ma):
Committed to 2.2.0 and 2.1.1. Thanks [~xuefuz] for review.

> 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
>             Fix For: 2.2.0, 2.1.1
>
>         Attachments: HIVE-14383.patch
>
>
> 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)

Reply via email to