spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lordjoe <>
Subject Re: org.apache.spark.SparkEnv
Date Tue, 04 Nov 2014 18:10:42 GMT
I posted on this issue in

Code starts
public class SparkUtilities extends Serializable 
private transient static ThreadLocal<JavaSparkContext> threadContext; 
    private static String appName = "Anonymous"; 

essentially you need to get a context on the slave machine saving it in a
transient (non serialized) field - at least that is what you want to do in

View this message in context:
Sent from the Apache Spark User List mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message