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

Provide elastic scaling within a Spark application

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.2
    • 1.2.0
    • Spark Core, YARN
    • None

    Description

      A common complaint with Spark in a multi-tenant environment is that applications have a fixed allocation that doesn't grow and shrink with their resource needs. We're blocked on YARN-1197 for dynamically changing the resources within executors, but we can still allocate and discard whole executors.

      It would be useful to have some heuristics that

      • Request more executors when many pending tasks are building up
      • Discard executors when they are idle

      See the latest design doc for more information.

      Attachments

        1. SPARK-3174design.pdf
          90 kB
          Sandy Ryza
        2. dynamic-scaling-executors-10-6-14.pdf
          315 kB
          Andrew Or
        3. SparkElasticScalingDesignB.pdf
          196 kB
          Praveen Seluka

        Issue Links

          Activity

            People

              andrewor14 Andrew Or
              sandyr Sandy Ryza
              Votes:
              0 Vote for this issue
              Watchers:
              44 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: