spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yinan Li (JIRA)" <>
Subject [jira] [Commented] (SPARK-23285) Allow spark.executor.cores to be fractional
Date Wed, 31 Jan 2018 19:43:00 GMT


Yinan Li commented on SPARK-23285:

Another option is to bypass that check for Kubernetes mode. This minimizes the code changes.

> Allow spark.executor.cores to be fractional
> -------------------------------------------
>                 Key: SPARK-23285
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: Kubernetes, Scheduler, Spark Submit
>    Affects Versions: 2.4.0
>            Reporter: Anirudh Ramanathan
>            Priority: Minor
> There is a strong check for an integral number of cores per executor in [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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message