spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gaborgsomogyi <...@git.apache.org>
Subject [GitHub] spark pull request #20807: SPARK-23660: Fix exception in yarn cluster mode w...
Date Fri, 16 Mar 2018 02:21:32 GMT
Github user gaborgsomogyi commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20807#discussion_r174983468
  
    --- Diff: resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala
---
    @@ -497,6 +500,8 @@ private[spark] class ApplicationMaster(args: ApplicationMasterArguments)
extends
             // if the user app did not create a SparkContext.
             throw new IllegalStateException("User did not initialize spark context!")
           }
    +      // After initialisation notify user class thread to continue
    +      synchronized { notify() }
    --- End diff --
    
    Moved into `resumeDriver` function right below `sparkContextInitialized`.


---

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


Mime
View raw message