hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-6913) Hive unable to find the hashtable file during complex multi-staged map join
Date Fri, 18 Apr 2014 02:21:15 GMT

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

Xuefu Zhang updated HIVE-6913:
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.14.0
           Status: Resolved  (was: Patch Available)

Patch committed to trunk. Thanks Brock for the fix.

> Hive unable to find the hashtable file during complex multi-staged map join
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-6913
>                 URL: https://issues.apache.org/jira/browse/HIVE-6913
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>             Fix For: 0.14.0
>
>         Attachments: HIVE-6913.patch, HIVE-6913.patch
>
>
> If a query has multiple mapjoins and one of the tables to be mapjoined is empty, the
query can result in a "no such file or directory" when looking for the hashtable.
> This is because when we generate a dummy hash table, we do not close the TableScan (TS)
operator for that table. Additionally, HashTableSinkOperator (HTSO) outputs it's hash tables
in the closeOp method. However, when close is called on HTSO we check to ensure that all parents
are closed: https://github.com/apache/hive/blob/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/Operator.java#L333
> which is not true on this case, because the TS operator for the empty table was never
closed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message