Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21185#discussion_r184813243
  
    --- Diff: core/src/main/scala/org/apache/spark/executor/Executor.scala ---
    @@ -229,6 +229,23 @@ private[spark] class Executor(
         
ManagementFactory.getGarbageCollectorMXBeans.asScala.map(_.getCollectionTime).sum
       }
     
    +  /**
    +   * Only in local mode, we have to prevent the driver from setting the 
active SparkSession
    +   * in the executor threads.  See SPARK-23894.
    +   */
    +  lazy val clearActiveSparkSessionMethod = if (Utils.isLocalMaster(conf)) {
    --- End diff --
    
    private?


---

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

Reply via email to