spark-timeseries icon indicating copy to clipboard operation
spark-timeseries copied to clipboard

building failed

Open Mark110 opened this issue 6 years ago • 1 comments

when I builded the project(mvn package),I see org.apache.spark.SparkException:Only one SparkContext may be running in this JVM(see SPARK-2243).To ignore the error set spark.driver.allowMultipleContexts=true.I set spark.driver.allowMultipleContexts=true,but there is still error.how can I solve the problem.

Mark110 avatar Feb 26 '18 03:02 Mark110

Try sc = SparkContext.getOrCreate(conf=conf)

connyK avatar Feb 28 '18 14:02 connyK