tgravescs commented on a change in pull request #27686: [SPARK-30942] Fix the 
warning for requiring cores to be limiting resources
URL: https://github.com/apache/spark/pull/27686#discussion_r383934401
 
 

 ##########
 File path: core/src/main/scala/org/apache/spark/SparkContext.scala
 ##########
 @@ -2798,7 +2798,7 @@ object SparkContext extends Logging {
         defaultProf.maxTasksPerExecutor(sc.conf) < cpuSlots) {
         throw new IllegalArgumentException("The number of slots on an executor 
has to be " +
           "limited by the number of cores, otherwise you waste resources and " 
+
-          "dynamic allocation doesn't work properly. Your configuration has " +
+          "some scheduling doesn't work properly. Your configuration has " +
 
 Review comment:
   The comment above already says "dynamic allocation and scheduler ".  I think 
that covers most of the cases.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to