Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building failed #206

Open
Mark110 opened this issue Feb 26, 2018 · 1 comment
Open

building failed #206

Mark110 opened this issue Feb 26, 2018 · 1 comment

Comments

@Mark110
Copy link

Mark110 commented Feb 26, 2018

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.

@connyK
Copy link

connyK commented Feb 28, 2018

Try sc = SparkContext.getOrCreate(conf=conf)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants