[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12892543#action_12892543
 ] 

Dick King commented on MAPREDUCE-1073:
--------------------------------------

I would like to invite community comment on the approach of 
https://issues.apache.org/jira/secure/attachment/12450229/MAPREDUCE-1073--yhadoop20--2010-07-22--1530.patch
 which is described in 
https://issues.apache.org/jira/browse/MAPREDUCE-1073?focusedCommentId=12891371&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12891371
 before I do any forward port.

> Progress reported for pipes tasks is incorrect.
> -----------------------------------------------
>
>                 Key: MAPREDUCE-1073
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1073
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: pipes
>    Affects Versions: 0.20.1
>            Reporter: Sreekanth Ramakrishnan
>            Assignee: Dick King
>         Attachments: mapreduce-1073--2010-03-31.patch, 
> mapreduce-1073--2010-04-06.patch, 
> MAPREDUCE-1073--yhadoop20--2010-07-22--1530.patch, 
> MAPREDUCE-1073--yhadoop20--2010-07-22.patch, MAPREDUCE-1073_yhadoop20.patch
>
>
> Currently in pipes, 
> {{org.apache.hadoop.mapred.pipes.PipesMapRunner.run(RecordReader<K1, V1>, 
> OutputCollector<K2, V2>, Reporter)}} we do the following:
> {code}
>         while (input.next(key, value)) {
>           downlink.mapItem(key, value);
>           if(skipping) {
>             downlink.flush();
>           }
>         }
> {code}
> This would result in consumption of all the records for current task and 
> taking task progress to 100% whereas the actual pipes application would be 
> trailing behind. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to