You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2016/05/13 23:02:12 UTC

[jira] [Commented] (OOZIE-2531) Prevent Spark trying for token which is already available

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

Rohini Palaniswamy commented on OOZIE-2531:
-------------------------------------------

We should add spark.yarn.security.tokens.hbase.enabled as well. I think we can always set it to false without checking if user had set something as we do not expect launchers to fetch any credentials. [~rkanter], is there any case where user would want to set it to true?

> Prevent Spark trying for token which is already available 
> ----------------------------------------------------------
>
>                 Key: OOZIE-2531
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2531
>             Project: Oozie
>          Issue Type: Improvement
>            Reporter: Satish Subhashrao Saley
>            Assignee: Satish Subhashrao Saley
>         Attachments: OOZIE-2531-1.patch
>
>
> As per [Apache Spark documentation|http://spark.apache.org/docs/latest/running-on-yarn.html#spark-properties] :
> The property {{spark.yarn.security.tokens.service.enabled}} in Apache Spark which controls whether to retrieve delegation tokens for non-HDFS services when security is enabled. By default, delegation tokens for all supported services are retrieved when those services are configured, but it's possible to disable that behavior if it somehow conflicts with the application being run.
> Currently supported services are: hive, hbase 
> It would be good to have default as {{spark.yarn.security.tokens.hive.enabled=false}} to avoid having Spark redundantly retry obtaining a token when it already has one (passed originally from Oozie's hcat credentials). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)