[
https://issues.apache.org/jira/browse/MAPREDUCE-6068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Binglin Chang updated MAPREDUCE-6068:
-------------------------------------
Status: Patch Available (was: Open)
Add some trace log:
{code}
2014-09-11 17:49:38,282 WARN [pool-65-thread-1] mapred.Merger
(Merger.java:next(566)) - totalBytesProcessed: 12076353 progPerByte:
8.294227E-8 result: 1.0016402
2014-09-11 17:49:38,282 WARN [pool-65-thread-1] util.Progress
(Progress.java:set(180)) - Illegal progress value found, progress is larger
than 1. Progress will be changed to 1
{code}
Merger use estimated progress calculation, when data size is large, it is
possible that the estimated value is a little above 1.0.
The patch makes sure Merger will never set progress larger than 1.0.
More thoughts(not related to this jira) on this part of code, the current code
set progress 1 or 2 times for each k/v pairs, Progress.set is synchronized, and
the calculation and code in Progress.set involve a lot floating point
operations, this part of code may impact performance a little, though I have
not tested.
> Illegal progress value warnings in map tasks
> --------------------------------------------
>
> Key: MAPREDUCE-6068
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6068
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2, task
> Affects Versions: 3.0.0
> Reporter: Todd Lipcon
> Assignee: Binglin Chang
>
> When running a terasort on latest trunk, I see the following in my task logs:
> {code}
> 2014-09-02 17:42:28,437 INFO [main] org.apache.hadoop.mapred.MapTask: Map
> output collector class = org.apache.hadoop.mapred.MapTask$MapOutputBuffer
> 2014-09-02 17:42:42,238 WARN [main] org.apache.hadoop.util.Progress: Illegal
> progress value found, progress is larger than 1. Progress will be changed to 1
> 2014-09-02 17:42:42,238 WARN [main] org.apache.hadoop.util.Progress: Illegal
> progress value found, progress is larger than 1. Progress will be changed to 1
> 2014-09-02 17:42:42,241 INFO [main] org.apache.hadoop.mapred.MapTask:
> Starting flush of map output
> {code}
> We should eliminate these warnings.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)