You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hari Krishna Dara (JIRA)" <ji...@apache.org> on 2015/12/01 19:15:11 UTC

[jira] [Commented] (SPARK-12050) Support for non-standard krb5.conf via KRB5_CONFIG variable

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

Hari Krishna Dara commented on SPARK-12050:
-------------------------------------------

Actually, I found that SPARK_SUBMIT_OPTS can be already used to pass options like this via spark-env.sh, so this change is not really required.

> Support for non-standard krb5.conf via KRB5_CONFIG variable
> -----------------------------------------------------------
>
>                 Key: SPARK-12050
>                 URL: https://issues.apache.org/jira/browse/SPARK-12050
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 1.5.2
>         Environment: Linux
>            Reporter: Hari Krishna Dara
>            Priority: Minor
>         Attachments: SPARK-12050-patch.diff
>
>
> For environments with non-standard location of krb5.conf, most native kerberos implementations support KRB5_CONFIG environment variable specifying the location. Java doesn't recognize this environment variable, but supports java.security.krb5.conf system property for the same.
> Since environment variables can be accessed in Java, Spark should include the system property on the command-line while the launcher command-line is built and add support for custom krb5.conf location and make this seamless. This variable can then go into the spark-env.sh.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org