Skip to content

Stage-Level Scheduling

Stage-Level Scheduling is a new feature in Apache Spark 3.1.1 (cf. SPARK-27495) for the following:

  • Spark developers to specify task and executor resource requirements at stage level
  • Spark to use the stage-level requirements to acquire the necessary resources and executors and schedule tasks based on the per stage requirements

ResourceProfile is associated with an RDD using withResources operator.