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

Hudson commented on HIVE-3898:
------------------------------

Integrated in hive-trunk-hadoop1 #21 (See 
[https://builds.apache.org/job/hive-trunk-hadoop1/21/])
    HIVE-3898 getReducersBucketing in SemanticAnalyzer may return more than the
max number of reducers (Kevin Wilfong via namit) (Revision 1434623)

     Result = ABORTED
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1434623
Files : 
* /hive/trunk/build-common.xml
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
* 
/hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/hooks/VerifyNumReducersForBucketsHook.java
* 
/hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/hooks/VerifyNumReducersHook.java
* /hive/trunk/ql/src/test/queries/clientpositive/bucket_num_reducers.q
* /hive/trunk/ql/src/test/queries/clientpositive/bucket_num_reducers2.q
* /hive/trunk/ql/src/test/results/clientpositive/bucket_num_reducers2.q.out

                
> 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
>             Fix For: 0.11.0
>
>         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

Reply via email to