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/15 04:06:12 UTC

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

Kevin Wilfong created HIVE-3898:
-----------------------------------

             Summary: 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


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