Github user cloud-fan commented on the issue:

    https://github.com/apache/spark/pull/21185
  
    > that's the whole problem. Its only meant to be available on the driver, 
but it ends up getting set on the executor when running in local mode.
    
    Yea I think this is the root cause. I'm making a 
[PR](https://github.com/apache/spark/pull/21190) to ban `SQLConf.get` at 
executor side, shall we do the same thing for SparkSession? And fixes all the 
places that mistakenly access `SparkSession` in executor.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to