-
Notifications
You must be signed in to change notification settings - Fork 149
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
[#1300]feat(mr): Support combine operation in map stage for mr engine. #1301
Conversation
@zhengchenyu Could you help me review this pr? |
Codecov Report
@@ Coverage Diff @@
## master #1301 +/- ##
============================================
+ Coverage 53.65% 54.41% +0.75%
- Complexity 2690 2696 +6
============================================
Files 403 391 -12
Lines 23456 21280 -2176
Branches 1992 2006 +14
============================================
- Hits 12586 11579 -1007
+ Misses 10096 8997 -1099
+ Partials 774 704 -70
... and 31 files with indirect coverage changes 📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today! |
client-mr/core/src/main/java/org/apache/hadoop/mapred/SortWriteBufferManager.java
Outdated
Show resolved
Hide resolved
client-mr/core/src/main/java/org/apache/hadoop/mapred/RssMapOutputCollector.java
Outdated
Show resolved
Hide resolved
client-mr/core/src/main/java/org/apache/hadoop/mapred/SortWriteBufferManager.java
Outdated
Show resolved
Hide resolved
@qijiale76 Can we add a new UT? |
client-mr/core/src/main/java/org/apache/hadoop/mapred/SortWriteBufferManager.java
Show resolved
Hide resolved
@zhengchenyu Committers have the privilege to rerun the failure jobs. You can merge this pr refer to other commits. |
@jerqi OK! And do you have any comments on this PR? |
Could we have a config option to control whether to combine? |
Now combine is skipped if I think it's not necessary to set up additional config options. |
OK. |
Thank you. @zhengchenyu @jerqi |
What changes were proposed in this pull request?
Support combine operation in map stage.
Why are the changes needed?
Fix: #1300
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Tested by UT, especially
WordCountTest
before this PR, Map Output
after this PR, MapOutput