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

Fix Unrecognized error #18527

Merged
merged 1 commit into from
Feb 24, 2024
Merged

Fix Unrecognized error #18527

merged 1 commit into from
Feb 24, 2024

Conversation

jja725
Copy link
Contributor

@jja725 jja725 commented Feb 23, 2024

Fix Unrecognized error

What changes are proposed in this pull request?

Please outline the changes and how this PR fixes the issue.

Why are the changes needed?

Please clarify why the changes are needed. For instance,

  1. If you propose a new API, clarify the use case for a new API.
  2. If you fix a bug, describe the bug.

Does this PR introduce any user facing changes?

Please list the user-facing changes introduced by your change, including

  1. change in user-facing APIs
  2. addition or removal of property keys
  3. webui

@jja725 jja725 force-pushed the fix-scheduler-type branch from ff8cde7 to 43f89bb Compare February 23, 2024 03:20
@jja725 jja725 requested a review from lucyge2022 February 23, 2024 23:40
@@ -62,7 +62,8 @@ public static int compareTierNames(String a, String b) {
public static void checkMasterClientService(AlluxioConfiguration alluxioConf) throws IOException {
MembershipType membershipType = alluxioConf
.getEnum(PropertyKey.WORKER_MEMBERSHIP_MANAGER_TYPE, MembershipType.class);
if (membershipType == MembershipType.ETCD || membershipType == MembershipType.STATIC) {
if (membershipType == MembershipType.ETCD || membershipType == MembershipType.STATIC
|| membershipType == MembershipType.SERVICE_REGISTRY) {
Copy link
Contributor

Choose a reason for hiding this comment

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

use membershipType != MembershipType.MASTER instead?

Copy link
Contributor

@lucyge2022 lucyge2022 left a comment

Choose a reason for hiding this comment

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

LGTM

and try to fix test
@jja725 jja725 force-pushed the fix-scheduler-type branch from 43f89bb to ba559bf Compare February 23, 2024 23:48
@jja725
Copy link
Contributor Author

jja725 commented Feb 24, 2024

alluxio-bot, merge this please

@alluxio-bot
Copy link
Contributor

merge failed:
Merge refused because pull request does not have label start with type-

@jja725 jja725 added the type-bug This issue is about a bug label Feb 24, 2024
@jja725
Copy link
Contributor Author

jja725 commented Feb 24, 2024

alluxio-bot, merge this please

@alluxio-bot alluxio-bot merged commit de7e92b into Alluxio:main Feb 24, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug This issue is about a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants