Skip to content

[Improvement] Disable dynamic allocation shuffle tracking #1490

@wForget

Description

@wForget

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

What would you like to be improved?

When using uniffle in Spark 3.5, I found that the executor did not exit in time when DRA was enabled.

spark.dynamicAllocation.enabled true
spark.shuffle.manager	org.apache.spark.shuffle.RssShuffleManager
spark.shuffle.service.enabled	false
spark.shuffle.sort.io.plugin.class	org.apache.spark.shuffle.RssShuffleDataIo

As mentioned in SPARK-39846, shuffle tracking is enabled by default in Spark 3.4.0.

When we disable shuffle service and enable shuffle tracking by default, the executor will only exit idle after shuffle cleanup. So we should disable shuffle tracking by default.

refer: https://github.com/apache/spark/blob/8dd395b2eabd2815982022b38a5287dae7af8b82/core/src/main/scala/org/apache/spark/scheduler/dynalloc/ExecutorMonitor.scala#L55

enable shuffle tracking (by default in spark 3.5):

image

after disable shuffle tracking:

image

How should we improve?

Disable dynamic allocation shuffle tracking by default.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions