You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Bill Graham (JIRA)" <ji...@apache.org> on 2012/08/20 23:58:38 UTC

[jira] [Updated] (PIG-2884) JobConrolCompile mis-logs after reducer estimation

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

Bill Graham updated PIG-2884:
-----------------------------

    Attachment: PIG-2884.1.patch
    
> JobConrolCompile mis-logs after reducer estimation
> --------------------------------------------------
>
>                 Key: PIG-2884
>                 URL: https://issues.apache.org/jira/browse/PIG-2884
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Bill Graham
>            Assignee: Bill Graham
>         Attachments: PIG-2884.1.patch
>
>
> This section of code produces erroneous logging messages:
> {noformat}
> mro.estimatedParallelism = estimateNumberOfReducers(nwJob, mro);
> // reducer estimation could return -1 if it couldn't estimate
> log.info("Could not estimate number of reducers and no requested or default " +
>          "parallelism set. Defaulting to 1 reducer.");
> jobParallelism = mro.estimatedParallelism > 0 ? mro.estimatedParallelism : 1;
> {noformat}
> Fix is to use a if/then. Patch forthcoming.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira