spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djvulee <...@git.apache.org>
Subject [GitHub] spark pull request #18651: [SPARK-21383][Core] Fix the YarnAllocator allocat...
Date Wed, 19 Jul 2017 15:59:14 GMT
Github user djvulee commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18651#discussion_r128290766
  
    --- Diff: resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocator.scala
---
    @@ -294,7 +296,8 @@ private[yarn] class YarnAllocator(
       def updateResourceRequests(): Unit = {
         val pendingAllocate = getPendingAllocate
         val numPendingAllocate = pendingAllocate.size
    -    val missing = targetNumExecutors - numPendingAllocate - numExecutorsRunning
    +    val missing = targetNumExecutors - numPendingAllocate -
    +      numExecutorsStarting.get - numExecutorsRunning.get
     
    --- End diff --
    
    Thanks for your advice! I just add the debug info.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message