Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Jan 10, 2024

What changes were proposed in this pull request?

This PR aims to improve Master to recover quickly in case of zero workers and apps.

Why are the changes needed?

This case happens on the initial cluster creation or during cluster restarting procedure.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs with the newly added test case.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the CORE label Jan 10, 2024
@dongjoon-hyun
Copy link
Member Author

Thank you for review, @mridulm . The PR is updated accordingly.

Copy link
Contributor

@mridulm mridulm 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, thanks for fixing this @dongjoon-hyun !

@dongjoon-hyun
Copy link
Member Author

Thank you, @mridulm .

dongjoon-hyun added a commit that referenced this pull request Jan 11, 2024
### What changes were proposed in this pull request?

This is a follow-up of #44673 to fix the test case by adding a persistent `DriverInfo`.

### Why are the changes needed?

To make the test case fail without the main patch. Previously, this is missed. So, the test case succeeds without the main patch.

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

No.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #44693 from dongjoon-hyun/SPARK-46664-2.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
szehon-ho pushed a commit to szehon-ho/spark that referenced this pull request Feb 7, 2024
…ro workers and apps

### What changes were proposed in this pull request?

This PR aims to improve `Master` to recover quickly in case of zero workers and apps.

### Why are the changes needed?

This case happens on the initial cluster creation or during cluster restarting procedure.

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

No.

### How was this patch tested?

Pass the CIs with the newly added test case.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes apache#44673 from dongjoon-hyun/SPARK-46664.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
szehon-ho pushed a commit to szehon-ho/spark that referenced this pull request Feb 7, 2024
### What changes were proposed in this pull request?

This is a follow-up of apache#44673 to fix the test case by adding a persistent `DriverInfo`.

### Why are the changes needed?

To make the test case fail without the main patch. Previously, this is missed. So, the test case succeeds without the main patch.

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

No.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes apache#44693 from dongjoon-hyun/SPARK-46664-2.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
@dongjoon-hyun dongjoon-hyun deleted the SPARK-46664 branch November 16, 2025 16:46
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