You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Rajesh Chandramohan (JIRA)" <ji...@apache.org> on 2016/10/20 06:18:58 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=15590942#comment-15590942 ] 

Rajesh Chandramohan commented on SPARK-12050:
---------------------------------------------

SPARK_SUBMIT_OPTS="-Djava.security.krb5.conf=/etc/krb5.conf-custom"
this way we can define it ..


> 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