Skip to content

[#1024] improvement(tez): Optimize user switch to shuffle mode local/remote. - #1397

Merged
roryqi merged 37 commits into
apache:masterfrom
lifeSo:feature_1024_switch_local_rss
Jan 3, 2024
Merged

[#1024] improvement(tez): Optimize user switch to shuffle mode local/remote.#1397
roryqi merged 37 commits into
apache:masterfrom
lifeSo:feature_1024_switch_local_rss

Conversation

@lifeSo

@lifeSo lifeSo commented Dec 27, 2023

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Currently, users need to set the parameter tez.am.launch.launch.cmd-opts to switch between local shuffle and remote shuffle, but this parameter is difficult for users to understand.
We need a simpler and easier to understand parameter,such as tez.shuffle.mode = local/remote

Why are the changes needed?

[Improvement] [tez]:Optimize user switch to shuffle mode local/remote. #1024

Fix: #1024

Does this PR introduce any user-facing change?

No.

How was this patch tested?

unit test or cluster prd test

@lifeSo
lifeSo marked this pull request as draft December 27, 2023 07:50
@codecov-commenter

codecov-commenter commented Dec 27, 2023

Copy link
Copy Markdown

Codecov Report

Attention: 21 lines in your changes are missing coverage. Please review.

Comparison is base (249c737) 53.23% compared to head (4fba995) 54.14%.
Report is 4 commits behind head on master.

Files Patch % Lines
...n/java/org/apache/tez/dag/app/RssDAGAppMaster.java 0.00% 21 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1397      +/-   ##
============================================
+ Coverage     53.23%   54.14%   +0.90%     
- Complexity     2718     2721       +3     
============================================
  Files           419      399      -20     
  Lines         23966    21621    -2345     
  Branches       2042     2045       +3     
============================================
- Hits          12758    11706    -1052     
+ Misses        10419     9199    -1220     
+ Partials        789      716      -73     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@roryqi roryqi changed the title [#1024] improvement [tez]:Optimize user switch to shuffle mode local/remote. [#1024] improvement(tez):Optimize user switch to shuffle mode local/remote. Dec 27, 2023
@roryqi roryqi changed the title [#1024] improvement(tez):Optimize user switch to shuffle mode local/remote. [#1024] improvement(tez): Optimize user switch to shuffle mode local/remote. Dec 27, 2023
@lifeSo
lifeSo requested a review from zhengchenyu December 27, 2023 10:00
@lifeSo
lifeSo marked this pull request as ready for review December 29, 2023 00:38
@lifeSo
lifeSo requested review from roryqi and zuston December 29, 2023 02:04
@roryqi

roryqi commented Dec 29, 2023

Copy link
Copy Markdown
Contributor

@zhengchenyu Could you help me review this pr?

Comment thread client-tez/src/main/java/org/apache/tez/dag/app/RssDAGAppMaster.java Outdated
@lifeSo
lifeSo force-pushed the feature_1024_switch_local_rss branch 2 times, most recently from 2b60959 to 3e1ca1b Compare January 2, 2024 21:02
@lifeSo
lifeSo requested a review from zhengchenyu January 3, 2024 02:28
@lifeSo
lifeSo force-pushed the feature_1024_switch_local_rss branch from 4b793e2 to ef6b4ee Compare January 3, 2024 08:00
zhengchenyu
zhengchenyu previously approved these changes Jan 3, 2024
Comment thread docs/client_guide/tez_client_guide.md Outdated
@lifeSo
lifeSo force-pushed the feature_1024_switch_local_rss branch from 5071196 to 4fba995 Compare January 3, 2024 08:49

@roryqi roryqi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. merged to master. thanks @lifeSo @zhengchenyu

@roryqi
roryqi merged commit bd98c44 into apache:master Jan 3, 2024
@lifeSo
lifeSo deleted the feature_1024_switch_local_rss branch January 3, 2024 10:02
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.

[Improvement] [tez]:Optimize user switch to shuffle mode local/remote.

4 participants