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

Add support for oversubscription in Mesos

    XMLWordPrintableJSON

    Details

    • Type: Story
    • Status: Resolved
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Mesos
    • Labels:

      Description

      Currently when running Spark on Mesos each executor will use all the CPU resources offered to it. This can lead to cases where a Spark executor is using all the CPU resources on a single slave but is underutilising the CPU allocated to it.

      Mesos added support in 0.23 for oversubscription, where frameworks can be offered slack resources for CPU resources already allocated. So that if a task is allocated 10 cpus but is only using 1, 9 revokable offers will be made to other frameworks. If the original task starts using its allocated CPU then Mesos will preempt the revokable task, killing it.

      From a cluster usage perspective it would be very useful to be able to specify that some jobs are revokable and can be ran in slack resources, and that they should be rescheduled without affecting the job status (ie not count towards job failure) when a task is revoked.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Zariel Chris Bannister
              • Votes:
                11 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: