[ 
https://issues.apache.org/jira/browse/PIG-4881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Koji Noguchi updated PIG-4881:
------------------------------
    Attachment: pig-4881-v01.patch

This was due to difference in behavior for "mapred.max.split.size" in hadoop 
1.x and 2.x.  Former assigned one extra record for the first mapper.  

Instead of trying to adjust, changed the test to use 2 input files with 5 
records so that we have 2 mappers.

> TestBuiltin.testUniqueID failing on hadoop-1.x
> ----------------------------------------------
>
>                 Key: PIG-4881
>                 URL: https://issues.apache.org/jira/browse/PIG-4881
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Koji Noguchi
>            Assignee: Koji Noguchi
>            Priority: Minor
>         Attachments: pig-4881-v01.patch
>
>
> -Patch from PIG-4819 that changed RANDOM() broke 
> TestBuiltin.testURIWithCurlyBrace which I fixed in PIG-4833 which broke 
> TestBuiltin.testUniqueID in hadoop1.x mode...-
> -Hopefully I can fix this without breaking another test...-
> TestBuiltin.testUniqueID has been failing on hadoop-1.x since the test was 
> _fixed_ in PIG-4819.
> (It used to ignore the results and always return success.)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to