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

Kevin Wilfong updated HIVE-3898:
--------------------------------

    Attachment: HIVE-3898.1.patch.txt
    
> 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

Reply via email to