You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched in the issues and found no similar issues.
Describe the feature
Dynamic client configuration should support configuring the ShuffleWriteClient of shuffle manager that fetches the config.
Motivation
Providing cluster-wide defaults via coordinators to configure the ShuffleWriteClient has operational benefits.
One use case is to have coordinators provide a BlockId layout configuration for clients (#1528).
Describe the solution
Currently, the dynamic client configuration cannot be used to configure the ShuffleWriteClient because the ShuffleWriteClient is used to fetch the dynamic client configuration, so the client has to be created first.
These solutions exist:
Create another ShuffleWriteClient after dynamic client config has been fetched.
Have RssShuffleManager create its own set of CoordinatorClients to fetch the dynamic client conf, then update the client configuration to finally create the ShuffleWriteClient.
Provide the updated RssConfig to ShuffleWriteClient, to re-initialize from it.
Additional context
No response
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
…1557)
### What changes were proposed in this pull request?
Fetches dynamic client config as early as possible, to be able to use dynamic client config to create the shuffle client with updated config.
### Why are the changes needed?
Providing config or the shuffle client via coordinator is operationally useful as cluster-wide settings can be deployed through the cluster and changed over time. Clients and apps do not need to change configs.
Fixes Spark part of #1554
### Does this PR introduce _any_ user-facing change?
More configs can be provided via coordinators.
### How was this patch tested?
Existing and [follow-up](https://github.com/apache/incubator-uniffle/pull/1528/files#diff-ea644edb1c0bf0e80f9a960adbc1615c99cb6a3a0d5fe24f788307f1daf22f46R127-R131) unit tests.
Code of Conduct
Search before asking
Describe the feature
Dynamic client configuration should support configuring the
ShuffleWriteClient
of shuffle manager that fetches the config.Motivation
Providing cluster-wide defaults via coordinators to configure the
ShuffleWriteClient
has operational benefits.One use case is to have coordinators provide a BlockId layout configuration for clients (#1528).
Describe the solution
Currently, the dynamic client configuration cannot be used to configure the
ShuffleWriteClient
because theShuffleWriteClient
is used to fetch the dynamic client configuration, so the client has to be created first.These solutions exist:
ShuffleWriteClient
after dynamic client config has been fetched.RssShuffleManager
create its own set ofCoordinatorClient
s to fetch the dynamic client conf, then update the client configuration to finally create theShuffleWriteClient
.RssConfig
toShuffleWriteClient
, to re-initialize from it.Additional context
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: