Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Dynamic Allocators in Kubernetes: Scaling Issues #265

@foxish

Description

@foxish

This issue will summarize the various points of discussion being carried out in email threads and the SIG.
This is with respect to the Dynamic Allocation PR (#224):

Spark tries to scale up rather fast, and in an exponential fashion. If you see this section, Spark's behavior is evident; it does not wait for the executors to register before requesting double that number.

The time spent between individual attempts is governed by two properties: spark.dynamicAllocation.schedulerBacklogTimeout and spark.dynamicAllocation.sustainedSchedulerBacklogTimeout. The former is set to 1s by default. So far, our strategy was to match Spark's asking for extra executors with creating new pending executor pods. However, that gets out of hand very quickly and we run the risk of DOSing the cluster.

cc @ssuchter @apache-spark-on-k8s/contributors

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions