How to create multiple SparkContexts in a console

后端 未结 4 720
温柔的废话
温柔的废话 2020-12-10 07:24

I want to create more than one SparkContext in a console. According to a post in mailing list, I need to do SparkConf.set( \'spark.driver.allowMultipleContexts\' , true), it

4条回答
  •  北海茫月
    2020-12-10 07:36

    I was hoping previous spark context be stopped and closed by calling close() stop() and the new one can be recreated, but still getting same error.

提交回复
热议问题