You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Robert Farr (JIRA)" <ji...@apache.org> on 2015/08/12 23:03:45 UTC

[jira] [Commented] (SPARK-9880) Make SparkConf accessible to KryoRegistrator

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

Robert Farr commented on SPARK-9880:
------------------------------------

After some more investigation one option would be to use SparkEnv.get.conf to access the spark conf from a registrator.   Anyone want to weigh-in if this is an acceptable solution?

> Make SparkConf accessible to KryoRegistrator
> --------------------------------------------
>
>                 Key: SPARK-9880
>                 URL: https://issues.apache.org/jira/browse/SPARK-9880
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 1.4.1, 1.5.0
>            Reporter: Robert Farr
>            Priority: Minor
>
> At times a kryo serializer may depend on external settings to create the serializer.  Today an environment variable or system property is the only way to make such a setting accessible to the KryoRegistrator instance.  
> Since these are global settings for the environment it is more desirable to be able to get the settings from the SparkConf which can be tweaked per spark application.



--
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