deepujain opened a new pull request, #8388:
URL: https://github.com/apache/hadoop/pull/8388

   # MAPREDUCE-7486. Handling Cluster Storage Capacity Exceeded Exception with 
Enhanced Logging
   
   ## Summary
   This patch improves the logging path in `YarnChild.reportError()` when 
`ClusterStorageCapacityExceededException` is 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=false`
   
   ## JIRA
   Fixes MAPREDUCE-7486
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to