spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anirudh Ramanathan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-23285) Allow spark.executor.cores to be fractional
Date Wed, 31 Jan 2018 14:24:00 GMT
Anirudh Ramanathan created SPARK-23285:
------------------------------------------

             Summary: Allow spark.executor.cores to be fractional
                 Key: SPARK-23285
                 URL: https://issues.apache.org/jira/browse/SPARK-23285
             Project: Spark
          Issue Type: Improvement
          Components: Kubernetes, Scheduler, Spark Submit
    Affects Versions: 2.4.0
            Reporter: Anirudh Ramanathan


There is a strong check for an integral number of cores per executor in [https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala#L270-L272.] Given
we're reusing that property in K8s, does it make sense to relax it?

 

K8s treats CPU as a "compressible resource" and can actually assign millicpus to individual
containers. Also to be noted - spark.driver.cores has no such check in place.



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