Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-23285

Allow spark.executor.cores to be fractional

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            liyinan926 Yinan Li
            foxish Anirudh Ramanathan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: