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

[#2278] feat(coordinator): Introduce AccessSupportRssChecker to reject the un-support application earlier #2277

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maobaolong
Copy link
Member

@maobaolong maobaolong commented Dec 8, 2024

What changes were proposed in this pull request?

Introduce AccessSupportRssChecker to reject the un-support application earlier

Why are the changes needed?

Fix: #2278

Does this PR introduce any user-facing change?

No.

How was this patch tested?

UT

@maobaolong maobaolong changed the title Introduce AccessSupportRssChecker to reject the un-support application earlier [#2278] feat(coordinator): Introduce AccessSupportRssChecker to reject the un-support application earlier Dec 8, 2024
Copy link

github-actions bot commented Dec 8, 2024

Test Results

 2 981 files  +15   2 981 suites  +15   6h 28m 8s ⏱️ -40s
 1 097 tests + 1   1 095 ✅ + 1   2 💤 ±0  0 ❌ ±0 
13 750 runs  +15  13 720 ✅ +15  30 💤 ±0  0 ❌ ±0 

Results for commit 3d2c4df. ± Comparison against base commit 4ce1aa8.

♻️ This comment has been updated with latest results.

@@ -92,7 +93,8 @@ public class CoordinatorConf extends RssBaseConf {
.asList()
.defaultValues(
"org.apache.uniffle.coordinator.access.checker.AccessClusterLoadChecker",
"org.apache.uniffle.coordinator.access.checker.AccessQuotaChecker")
"org.apache.uniffle.coordinator.access.checker.AccessQuotaChecker",
AccessSupportRssChecker.class.getCanonicalName())
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you modify the document, too.

@@ -92,7 +93,8 @@ public class CoordinatorConf extends RssBaseConf {
.asList()
.defaultValues(
"org.apache.uniffle.coordinator.access.checker.AccessClusterLoadChecker",
"org.apache.uniffle.coordinator.access.checker.AccessQuotaChecker")
"org.apache.uniffle.coordinator.access.checker.AccessQuotaChecker",
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you use similar way to refactor the code like AccessSupportRssChecker.class.getCanonicalName()?


@Override
public AccessCheckResult check(AccessInfo accessInfo) {
String serializer = accessInfo.getExtraProperties().get("serializer");
Copy link
Contributor

@jerqi jerqi Dec 10, 2024

Choose a reason for hiding this comment

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

This is related to the Spark engine. How to make this more common?

Copy link
Member Author

Choose a reason for hiding this comment

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

@jerqi Yeah, so how about add a new config to make this abstract? lets say it unsupportConfigs,

For example unsupportConfigs="serializer:org.apache.hadoop.io.serializer.JavaSerialization"

Copy link
Contributor

Choose a reason for hiding this comment

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

We would better make that unsupportConfigs become configs for the shuffle server.

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.

[Improvement] org.apache.spark.serializer.JavaSerializer does not support object relocation.
2 participants