You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/03/23 04:27:00 UTC

[jira] [Work logged] (HIVE-25446) Wrong exception thrown if capacity<=0

     [ https://issues.apache.org/jira/browse/HIVE-25446?focusedWorklogId=746341&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-746341 ]

ASF GitHub Bot logged work on HIVE-25446:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Mar/22 04:26
            Start Date: 23/Mar/22 04:26
    Worklog Time Spent: 10m 
      Work Description: sankarh merged pull request #3092:
URL: https://github.com/apache/hive/pull/3092


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 746341)
    Time Spent: 0.5h  (was: 20m)

> Wrong exception thrown if capacity<=0
> -------------------------------------
>
>                 Key: HIVE-25446
>                 URL: https://issues.apache.org/jira/browse/HIVE-25446
>             Project: Hive
>          Issue Type: Sub-task
>    Affects Versions: 3.1.1
>            Reporter: Matt McCline
>            Assignee: Ashish Sharma
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Encountered this in a very large query:
> Caused by: java.lang.AssertionError: Capacity must be a power of two
>        at org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastHashTable.validateCapacity(VectorMapJoinFastHashTable.java:60)
>        at org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastHashTable.<init>(VectorMapJoinFastHashTable.java:77)
>        at org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastBytesHashTable.<init>(VectorMapJoinFastBytesHashTable.java:132)
>        at org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastBytesHashMap.<init>(VectorMapJoinFastBytesHashMap.java:166)
>        at org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastStringHashMap.<init>(VectorMapJoinFastStringHashMap.java:43)
>        at org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastTableContainer.createHashTable(VectorMapJoinFastTableContainer.java:137)
>        at org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastTableContainer.<init>(VectorMapJoinFastTableContainer.java:86)
>        at org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastHashTableLoader.load(VectorMapJoinFastHashTableLoader.java:122)
>        at org.apache.hadoop.hive.ql.exec.MapJoinOperator.loadHashTableInternal(MapJoinOperator.java:344)
>        at org.apache.hadoop.hive.ql.exec.MapJoinOperator.loadHashTable(MapJoinOperator.java:413)
>        at org.apache.hadoop.hive.ql.exec.MapJoinOperator.lambda$initializeOp$0(MapJoinOperator.java:215)
>        at org.apache.hadoop.hive.ql.exec.tez.ObjectCache.retrieve(ObjectCache.java:96)
>        at org.apache.hadoop.hive.ql.exec.tez.ObjectCache$1.call(ObjectCache.java:113)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:266)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)