Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Dec 16, 2022

What changes were proposed in this pull request?

This PR aims to add a new executor roll policy, DISK_USED, which chooses the executor whose used disk size is biggest.

Why are the changes needed?

To provide a new built-in policy to the users.

Does this PR introduce any user-facing change?

No. This is a new policy.

How was this patch tested?

Pass the CIs.

@dongjoon-hyun
Copy link
Member Author

Oh, thank you for review, @HyukjinKwon .
Sorry but I quickly switched the semantics to choose the large disk usage and add more test case.

@dongjoon-hyun
Copy link
Member Author

Also, cc @viirya .

Copy link
Member

@viirya viirya left a comment

Choose a reason for hiding this comment

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

Looks good to me. We may need to update docs/running-on-kubernetes.md too.

@dongjoon-hyun
Copy link
Member Author

Thank you, @HyukjinKwon and @viirya . Yes, we need to revise the doc too.
I have another PR on this area. I'll revise the doc together~

@dongjoon-hyun
Copy link
Member Author

All tests passed. Merged to master.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-41540 branch December 16, 2022 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants