Skip to content

Conversation

@Yikun
Copy link
Member

@Yikun Yikun commented Jan 14, 2022

What changes were proposed in this pull request?

  • Rename DRIVER_LABELS to CUSTOM_DRIVER_LABELS, LABELS to CUSTOM_EXECUTORS_LABELS, make their names more clear.
  • Refactoring on preset labels and add preset labels test.

Why are the changes needed?

There are two type Pod label in current implementations: preset label set by spark and custom label set by user, but there are some mix up in testcase, so this PR just fix it.

Also see realted: #34646 (comment)

Does this PR introduce any user-facing change?

No

How was this patch tested?

UT

Copy link
Contributor

@itholic itholic left a comment

Choose a reason for hiding this comment

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

Would you mind refine "Why are the changes needed?" in the PR description a little bit more detail rather than only mentioning the previous discussion ?

It took some time to understand why this changes needed for me.

Otherwise, fix itself looks fine to me :-)

@Yikun
Copy link
Member Author

Yikun commented Jan 17, 2022

@itholic Thanks, udpated.

@Yikun Yikun changed the title [SPARK-37908][K8S][TEST] Refactoring on pod label test in BasicDriver/ExecutorFeatureStepSuite [SPARK-37908][K8S][TESTS] Refactoring on pod label test in BasicDriver/ExecutorFeatureStepSuite Jan 17, 2022
@Yikun
Copy link
Member Author

Yikun commented Jan 24, 2022

cc @dongjoon-hyun This is a followup test reafactor of #34646 as your suggestion.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you, @Yikun . Sorry for the delay.
Merged to master.

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