java.lang.IllegalArgumentException: spark.sql.execution.id is already set

toree-dev | Kapil Malik (JIRA) | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    [jira] [Commented] (TOREE-250) spark.sql.execution.id is already set

    toree-dev | 1 year ago | Kapil Malik (JIRA)
    java.lang.IllegalArgumentException: spark.sql.execution.id is already set

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      spark.sql.execution.id is already set

      at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId()
    2. Spark Project SQL
      DataFrame.show
      1. org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:87)
      2. org.apache.spark.sql.DataFrame.withNewExecutionId(DataFrame.scala:1903)
      3. org.apache.spark.sql.DataFrame.collect(DataFrame.scala:1384)
      4. org.apache.spark.sql.DataFrame.head(DataFrame.scala:1314)
      5. org.apache.spark.sql.DataFrame.take(DataFrame.scala:1377)
      6. org.apache.spark.sql.DataFrame.showString(DataFrame.scala:178)
      7. org.apache.spark.sql.DataFrame.show(DataFrame.scala:401)
      8. org.apache.spark.sql.DataFrame.show(DataFrame.scala:362)
      8 frames
    3. org.apache.toree
      SqlService$$anonfun$submitCode$1$$anonfun$1.apply
      1. org.apache.toree.kernel.interpreter.sql.SqlService$$anonfun$submitCode$1$$anonfun$1.apply$mcV$sp(SqlService.scala:58)
      2. org.apache.toree.kernel.interpreter.sql.SqlService$$anonfun$submitCode$1$$anonfun$1.apply(SqlService.scala:58)
      3. org.apache.toree.kernel.interpreter.sql.SqlService$$anonfun$submitCode$1$$anonfun$1.apply(SqlService.scala:58)
      3 frames
    4. Scala
      Console$.withOut
      1. scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
      2. scala.Console$.withOut(Console.scala:126)
      2 frames
    5. org.apache.toree
      SqlService$$anonfun$submitCode$1.apply
      1. org.apache.toree.kernel.interpreter.sql.SqlService$$anonfun$submitCode$1.apply(SqlService.scala:56)
      2. org.apache.toree.kernel.interpreter.sql.SqlService$$anonfun$submitCode$1.apply(SqlService.scala:48)
      2 frames
    6. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
      2. scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)
      3. scala.concurrent.impl.ExecutionContextImpl$$anon$3.exec(ExecutionContextImpl.scala:107)
      4. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      5. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      6. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      7. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      7 frames