You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Kevin Wilfong (JIRA)" <ji...@apache.org> on 2013/01/16 00:04:12 UTC

[jira] [Commented] (HIVE-3898) getReducersBucketing in SemanticAnalyzer may return more than the max number of reducers

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

Kevin Wilfong commented on HIVE-3898:
-------------------------------------

https://reviews.facebook.net/D7941
                
> getReducersBucketing in SemanticAnalyzer may return more than the max number of reducers
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-3898
>                 URL: https://issues.apache.org/jira/browse/HIVE-3898
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>    Affects Versions: 0.11.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>         Attachments: HIVE-3898.1.patch.txt
>
>
> getReducersBucketing rounds totalFiles / maxReducers down, when it should be rounded up to the nearest integer.
> E.g. if totalFiles = 60 and maxReducers = 21, 
> totalFiles / maxReducers = 2
> totalFiles / 2 = 30
> So the job will get 30 reducers, more than maxReducers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira