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

[ISSUE-522] [operator] pass RSS_IP to coordinator container env #523

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

advancedxy
Copy link
Contributor

@advancedxy advancedxy commented Jan 30, 2023

What changes were proposed in this pull request?

NODE_NAME and RSS_IP env variables are set in coordinator's container.

Why are the changes needed?

In a complex K8S env, there might be multiple interfaces/ips in the container env. Uniffle cannot detect which
ip should be used automatically. It's better to specify the correct container ip here.
Also we are passing RSS_IP to shuffle server, coordinator and shuffle server should align this behavior.

This PR fixes #522

Does this PR introduce any user-facing change?

NO

How was this patch tested?

Manually verify

@advancedxy
Copy link
Contributor Author

also ping @wangao1236

@codecov-commenter
Copy link

codecov-commenter commented Jan 30, 2023

Codecov Report

Merging #523 (b35313e) into master (b80972c) will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #523      +/-   ##
============================================
+ Coverage     59.76%   59.78%   +0.01%     
- Complexity     1768     1769       +1     
============================================
  Files           205      205              
  Lines         11531    11531              
  Branches       1033     1033              
============================================
+ Hits           6892     6894       +2     
+ Misses         4233     4232       -1     
+ Partials        406      405       -1     
Impacted Files Coverage Δ
...he/uniffle/server/storage/LocalStorageManager.java 87.00% <0.00%> (+1.12%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@advancedxy advancedxy merged commit 7ccf298 into apache:master Jan 31, 2023
@advancedxy advancedxy deleted the issue_522 branch January 31, 2023 07:16
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.

[Subtask] pass RSS_IP env to coordinator container
4 participants