pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Coveney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-2884) JobControlCompiler mis-logs after reducer estimation
Date Mon, 20 Aug 2012 23:46:38 GMT

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

Jonathan Coveney commented on PIG-2884:
---------------------------------------

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

        

Mime
View raw message