Skip to content

[SPARK-37824][DOCS] Document K8s executor rolling configurations#35114

Closed
dongjoon-hyun wants to merge 1 commit intoapache:masterfrom
dongjoon-hyun:SPARK-37824
Closed

[SPARK-37824][DOCS] Document K8s executor rolling configurations#35114
dongjoon-hyun wants to merge 1 commit intoapache:masterfrom
dongjoon-hyun:SPARK-37824

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Jan 6, 2022

What changes were proposed in this pull request?

This PR aims to document newly added K8s executor rolling configurations.

Why are the changes needed?

To make doc up-to-date.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manually review.

Screen Shot 2022-01-05 at 10 04 19 PM

@github-actions github-actions bot added the DOCS label Jan 6, 2022
an executor and decommission it. The built-in policies are based on executor summary
and newly started executors are protected by spark.kubernetes.executor.minTasksPerExecutorBeforeRolling.
ID policy chooses an executor with the smallest executor ID.
ADD_TIME policy chooses an executor with the smallest add-time.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's add-time?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the time when a executor was added~

Spark creates executor pods in an order of sequential ID, but the pod creation times depends on the node status.
Some nodes need to download the pod image. So, ID order and ADD_TIME order is different in the production.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I see. Thanks for the explanation.

@dongjoon-hyun
Copy link
Member Author

Thank you so much, @viirya !

@dongjoon-hyun dongjoon-hyun deleted the SPARK-37824 branch January 6, 2022 07:06
dchvn pushed a commit to dchvn/spark that referenced this pull request Jan 19, 2022
### What changes were proposed in this pull request?

This PR aims to document newly added K8s executor rolling configurations.

### Why are the changes needed?

To make doc up-to-date.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Manually review.

<img width="1393" alt="Screen Shot 2022-01-05 at 10 04 19 PM" src="https://user-images.githubusercontent.com/9700541/148336572-125f2a78-5131-4a04-9fc9-f1457a381d4e.png">

Closes apache#35114 from dongjoon-hyun/SPARK-37824.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants