MAPREDUCE-7486. Add fast-fail guidance when cluster storage capacity is exceeded.#8388
Open
deepujain wants to merge 1 commit intoapache:trunkfrom
Open
MAPREDUCE-7486. Add fast-fail guidance when cluster storage capacity is exceeded.#8388deepujain wants to merge 1 commit intoapache:trunkfrom
deepujain wants to merge 1 commit intoapache:trunkfrom
Conversation
Contributor
Author
|
Added a warning when cluster storage capacity is exceeded but fast fail is disabled, so users get guidance on enabling it. |
|
🎊 +1 overall
This message was automatically generated. |
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.
Summary
This patch improves the logging path in
YarnChild.reportError()whenClusterStorageCapacityExceededExceptionis raised and fast fail is disabled. The task now emits a warning that explains why the job is not failing immediately and points users to the configuration that enables fast fail.Change
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapred/YarnChild.java: add a warning log message for the non-fast-fail capacity-exceeded path.hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapred/TestYarnChild.java: extend the unit coverage to assert the warning path and preserve the existing fatal-error behavior checks.Tests
JAVA_HOME=/opt/homebrew/opt/openjdk /opt/homebrew/bin/mvn -Dmaven.repo.local=/tmp/codex-m2 test -pl hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app -am -Dtest=TestYarnChild -DskipTests=falseJIRA
Fixes MAPREDUCE-7486