[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to