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

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

    Summary: JobControlCompiler mis-logs after reducer estimation  (was: 
JobConrolCompile mis-logs after reducer estimation)
    
> JobControlCompiler 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

        

Reply via email to