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

BIGTOP-4323: Add component init/prepare commands for internal use #145

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

kevinw66
Copy link
Contributor

@kevinw66 kevinw66 commented Jan 8, 2025

No description provided.

componentCommandNames.removeAll(orderedList);

List<String> res = new ArrayList<>();
List<String> commandOrder = List.of("ADD", "CONFIGURE", "INIT", "START", "PREPARE", "CHECK");
Copy link
Member

Choose a reason for hiding this comment

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

Can an enumeration list be used here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This requires a lot of changes since it's not exactly the same as the Command enum class, I add a TODO for this code, we should optimize it in the future

Copy link
Member

Choose a reason for hiding this comment

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

ok

Copy link
Member

@wuchunfu wuchunfu left a comment

Choose a reason for hiding this comment

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

LGTM

@kevinw66
Copy link
Contributor Author

kevinw66 commented Jan 8, 2025

Thanks @timyuer @wuchunfu

@kevinw66 kevinw66 merged commit c58eb4d into apache:main Jan 8, 2025
8 checks passed
@kevinw66 kevinw66 deleted the bigtop-4323 branch January 8, 2025 12:25
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.

3 participants