hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vihang Karajgaonkar (JIRA)" <>
Subject [jira] [Commented] (HIVE-14165) Remove Hive file listing during split computation
Date Fri, 06 Jan 2017 23:36:59 GMT


Vihang Karajgaonkar commented on HIVE-14165:

Thanks for the patch [~stakiar]. It seems like the previous implementation was ignoring zero
length files for computing the splits. While FileInputFormat.getSplit() creates an empty Split
for the zero length files. I am not sure how it impacts the execution, may be worth while
to test. Also, if needed may be you can ignore the empty splits before adding them to {{FetchInputFormatSplit[]

> Remove Hive file listing during split computation
> -------------------------------------------------
>                 Key: HIVE-14165
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>    Affects Versions: 2.1.0
>            Reporter: Abdullah Yousufi
>            Assignee: Sahil Takiar
>         Attachments: HIVE-14165.02.patch, HIVE-14165.03.patch, HIVE-14165.04.patch, HIVE-14165.05.patch,
HIVE-14165.06.patch, HIVE-14165.patch
> The Hive side listing in is unnecessary, since Hadoop's
will list the files during split computation anyway to determine their size. One way to remove
this is to catch the InvalidInputFormat exception thrown by FileInputFormat#getSplits() on
the Hive side instead of doing the file listing beforehand.
> For S3 select queries on partitioned tables, this results in a 2x speedup.

This message was sent by Atlassian JIRA

View raw message