spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spotvenky <>
Subject Sharing SparkContext across multiple Unit Test Scala files
Date Wed, 04 Mar 2015 06:15:36 GMT
Can someone show me a code snippet on how I can create one SparkContext and
share it across multiple Unit Test files? I want the tests to run in
parallel as well. (i.e. parallelExecution in Test := true) 

I looked up SharedSparkContext, doesnt seem to work when tests are run in
parallel. Can someone guide me here.

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

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

View raw message