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

[Feature] Support set rpc port config #212

Merged
merged 1 commit into from
Jul 1, 2022

Conversation

nafiyAix
Copy link
Contributor

@nafiyAix nafiyAix commented Jul 1, 2022

[BUG]/[FEATURE] title

What changes were proposed in this pull request?

Add worker rpc port config, replace the master & worker arguments port's default value with config from RssConf.

Why are the changes needed?

For better monitor the rpc port workload of worker.
And in previous Master, it will use the value from MasterArguments to create master's rpcEnv, but if user also set the "rss.master.port" or "rss.master.address", it may cause the RssHARetryClient use different port value with Master. Currently if user set master's port by -p/--port in command line when launching master, it may cause RssHARetryClient could not find the real rpc port of master, thus i think may need to find a replacement of current RssHARetryClient's constructor logic or forbid user to set master's port by -p/--port.

image

What are the items that need reviewer attention?

masterPort used by RssHARetryClient's constructor may conflict with Master's real port.

Related issues.

#211

Related pull requests.

How was this patch tested?

/cc @related-reviewer

/assign @main-reviewer

@waitinfuture
Copy link
Contributor

LGTM. Thanks!

@waitinfuture waitinfuture merged commit 6f8fb87 into apache:main Jul 1, 2022
@waitinfuture waitinfuture linked an issue Jul 2, 2022 that may be closed by this pull request
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.

[FEATURE] Support set component's RPC port by config
2 participants