[ 
https://issues.apache.org/jira/browse/PIG-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886904#action_12886904
 ] 

Ashutosh Chauhan commented on PIG-1389:
---------------------------------------

+1 

Discussed about 3) with Richard offline. Though theoretically it will be better 
to find out the features on the fully compiled and optimized MR plan, it will 
be hard and may not be worth the complexity doing it. So, in this first pass it 
is fine to mark those features while MR plan's compilation is in progress. As a 
result in few corner cases, features marked for MR Oper may not be correct. We 
will fix up those cases as and when they come up.

> Implement Pig counter to track number of rows for each input files 
> -------------------------------------------------------------------
>
>                 Key: PIG-1389
>                 URL: https://issues.apache.org/jira/browse/PIG-1389
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: 0.7.0
>            Reporter: Richard Ding
>            Assignee: Richard Ding
>             Fix For: 0.8.0
>
>         Attachments: PIG-1389.patch, PIG-1389.patch, PIG-1389_1.patch, 
> PIG-1389_2.patch
>
>
> A MR job generated by Pig not only can have multiple outputs (in the case of 
> multiquery) but also can have multiple inputs (in the case of join or 
> cogroup). In both cases, the existing Hadoop counters (e.g. 
> MAP_INPUT_RECORDS, REDUCE_OUTPUT_RECORDS) can not be used to count the number 
> of records in the given input or output.  PIG-1299 addressed the case of 
> multiple outputs.  We need to add new counters for jobs with multiple inputs.

-- 
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