Hello,

I am trying to run a set of tests that use the spark runner, I build the
Pipeline in a setUp method and then reuse it in different tests, however
when it is invoked for the second time it throws an exception:

java.lang.RuntimeException: org.apache.spark.SparkException: Only one
SparkContext may be running in this JVM (see SPARK-2243). To ignore this
error, set spark.driver.allowMultipleContexts = true. The currently running
SparkContext was created at:

Do you know how can I pass such variable to the runner, or if I can skip
this issue in another way ?

-Ismael

Reply via email to