[
https://issues.apache.org/jira/browse/HIVE-3898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13555935#comment-13555935
]
Namit Jain commented on HIVE-3898:
----------------------------------
+1
> 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, HIVE-3898.2.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