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

    https://github.com/apache/spark/pull/9758#discussion_r45134450
  
    --- Diff: yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala ---
    @@ -258,7 +258,8 @@ private[spark] class Client(
         if (executorMem > maxMem) {
           throw new IllegalArgumentException(s"Required executor memory 
(${args.executorMemory}" +
             s"+$executorMemoryOverhead MB) is above the max threshold ($maxMem 
MB) of this cluster! " +
    -        "Please increase the value of 
'yarn.scheduler.maximum-allocation-mb'.")
    +        "Please increase the value of 
'yarn.scheduler.maximum-allocation-mb' and" +
    --- End diff --
    
    I've switched it to and/or + check the values. I think its a useful error 
for people trying to run Spark on YARN who might not know what the 
configuration params are they need here (much better than the alternative of 
dumping a stack trace to nowhere in particular).


---
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.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to