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

    https://github.com/apache/spark/pull/900#discussion_r13808991
  
    --- Diff: 
yarn/common/src/main/scala/org/apache/spark/scheduler/cluster/YarnClientSchedulerBackend.scala
 ---
    @@ -77,6 +77,12 @@ private[spark] class YarnClientSchedulerBackend(
     
         logDebug("ClientArguments called with: " + argsArrayBuf)
         val args = new ClientArguments(argsArrayBuf.toArray, conf)
    +    totalExecutors.set(args.numExecutors)
    --- End diff --
    
    note that yarn has 2 modes - yarn-client and yarn-cluster mode. This 
changes it for yarn-client mode, but not yarn-cluster mode.  yarn-cluster mode 
currently just uses CoarseGrainedSchedulerBackend directly.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to