You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "JackYan (Jira)" <ji...@apache.org> on 2021/10/15 03:24:00 UTC

[jira] [Created] (HIVE-25615) Hive on tez will generate at least one MapContainer per 0 length file

JackYan created HIVE-25615:
------------------------------

             Summary: Hive on tez will generate at least one MapContainer per 0 length file
                 Key: HIVE-25615
                 URL: https://issues.apache.org/jira/browse/HIVE-25615
             Project: Hive
          Issue Type: Improvement
          Components: Query Planning, Query Processor, Tez
    Affects Versions: 3.1.2
         Environment: hive-3.1.2
tez-0.10.1
            Reporter: JackYan


When tez read a table with many partitions and those partitions contain 0 length file only, ColumnarSplitSizeEstimator will return Integer.MAX_VALUE bytes length for every 0 length file.Then,TezSplitGrouper will treat those files as big files,and generate at least one MapContainer per 0 file to handle it.This is incorrect and even wasteful.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)