Description
From the mailing list:
future { df1.count() } future { df2.count() } java.lang.IllegalArgumentException: spark.sql.execution.id is already set at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:87) at org.apache.spark.sql.DataFrame.withNewExecutionId(DataFrame.scala:1904) at org.apache.spark.sql.DataFrame.collect(DataFrame.scala:1385)
=== edit ===
Simple reproduction:
(1 to 100).par.foreach { _ => sc.parallelize(1 to 5).map { i => (i, i) }.toDF("a", "b").count() }
Attachments
Issue Links
- is related to
-
TOREE-283 Can only execute one cell with %%SQL
- Closed
- relates to
-
SPARK-13747 Concurrent execution in SQL doesn't work with Scala ForkJoinPool
- Resolved
- links to