Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible shuffle: skip origin check #12171

Closed

Conversation

res-life
Copy link
Collaborator

@res-life res-life commented Feb 19, 2025

closes #12170

Add a incompat function for override for customized Spark

Signed-off-by: Chong Gao [email protected]

@res-life
Copy link
Collaborator Author

build

@res-life res-life self-assigned this Feb 19, 2025
@res-life res-life requested a review from sperlingxx February 19, 2025 07:01
Copy link
Collaborator

@winningsix winningsix left a comment

Choose a reason for hiding this comment

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

@revans2 this is a case where we need to relief the check as customer's Spark introduced other ShuffleOrigin.

cc @sperlingxx

@res-life res-life force-pushed the incompat-shuffle-check-origin branch from 47521f1 to b367cd6 Compare February 19, 2025 07:22
Signed-off-by: Chong Gao <[email protected]>
@res-life
Copy link
Collaborator Author

build

@res-life
Copy link
Collaborator Author

Close this, because the below is already in shim:

object ShuffleOriginUtil {
  private val knownOrigins: Set[ShuffleOrigin] = Set(ENSURE_REQUIREMENTS,
    REPARTITION_BY_COL, REPARTITION_BY_NUM, REBALANCE_PARTITIONS_BY_NONE,
    REBALANCE_PARTITIONS_BY_COL)

  def isSupported(origin: ShuffleOrigin): Boolean = knownOrigins.contains(origin)
}

Only need to update the shim in customized repo.

@res-life res-life closed this Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Incompatible shuffle: skip origin check
3 participants