[SPARK-13071] [hadoop-2.7] Coalescing HadoopRDD overwrites existing input metrics#10973
Closed
andrewor14 wants to merge 2 commits intoapache:masterfrom
Closed
[SPARK-13071] [hadoop-2.7] Coalescing HadoopRDD overwrites existing input metrics#10973andrewor14 wants to merge 2 commits intoapache:masterfrom
andrewor14 wants to merge 2 commits intoapache:masterfrom
Conversation
Contributor
Author
|
Test build #50335 has finished for PR 10973 at commit
|
Contributor
|
test this please |
Contributor
|
maybe also put hadoop2.7 in the title, so jenkins can test it? |
|
Test build #50348 has finished for PR 10973 at commit
|
Contributor
Author
|
like this? I didn't know Jenkins can do that |
Contributor
Author
|
retest this please |
Contributor
Author
|
let's try again. retest this please |
Contributor
|
LGTM |
|
Test build #50394 has finished for PR 10973 at commit
|
|
Test build #50395 has finished for PR 10973 at commit
|
Contributor
Author
|
retest this please |
|
Test build #50408 has finished for PR 10973 at commit
|
|
Test build #2478 has finished for PR 10973 at commit
|
Contributor
Author
|
Merging into master. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This issue is causing tests to fail consistently in master with Hadoop 2.6 / 2.7. This is because for Hadoop 2.5+ we overwrite existing values of
InputMetrics#bytesReadin each call toHadoopRDD#compute. In the case of coalesce, e.g.we will call
computemultiple times in the same task, overwritingbytesReadvalues from previous calls tocompute.For a regression test, see
InputOutputMetricsSuite.input metrics for old hadoop with coalesce. I did not add a new regression test because it's impossible without significant refactoring; there's a lot of existing duplicate code in this corner of Spark.This was caused by #10835.