spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-26340) Ensure cores per executor is greater than cpu per task
Date Tue, 11 Dec 2018 17:40:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-26340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16717636#comment-16717636
] 

ASF GitHub Bot commented on SPARK-26340:
----------------------------------------

MaxGekk commented on issue #23290: [SPARK-26340][Core] Ensure cores per executor is greater
than cpu per task
URL: https://github.com/apache/spark/pull/23290#issuecomment-446292798
 
 
   Should the check be moved to `SparkConf` like:
   https://github.com/apache/spark/blob/78fa1be29bc9fbe98dd0226418aafc221c5e5309/core/src/main/scala/org/apache/spark/SparkConf.scala#L597-L606
?

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


> Ensure cores per executor is greater than cpu per task
> ------------------------------------------------------
>
>                 Key: SPARK-26340
>                 URL: https://issues.apache.org/jira/browse/SPARK-26340
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.2.2, 2.3.2
>            Reporter: Nicolas Fraison
>            Priority: Minor
>
> No check is performed to ensure spark.task.cpus is lower then spark.executor.cores. Which
can lead to jobs not able to assign tasks without any understandable issues
> The check is only performed in the case of dynamic allocation usage in ExecutorAllocationManager
> Adding the check in TaskSchedulerImpl ensure that an issue is thrown to the driver



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message