Ngone51 commented on a change in pull request #28257: [SPARK-31485][CORE] Avoid 
application hang if only partial barrier tasks launched
URL: https://github.com/apache/spark/pull/28257#discussion_r410914630
 
 

 ##########
 File path: 
core/src/main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala
 ##########
 @@ -484,9 +482,11 @@ private[spark] class TaskSchedulerImpl(
         numTasksPerExecCores
       } else {
         val taskLimit = 
resourceProfile.taskResources.get(limitingResource).map(_.amount)
-          .getOrElse(throw new SparkException("limitingResource returns from 
ResourceProfile" +
-            s" $resourceProfile doesn't actually contain that task resource!")
-          )
 
 Review comment:
   this has the same problem cc @tgravescs 

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