You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Karen Coppage (Jira)" <ji...@apache.org> on 2020/06/04 06:35:00 UTC
[jira] [Updated] (HIVE-23608) Change an FS#exists call to FS#isFile
call in AcidUtils
[ https://issues.apache.org/jira/browse/HIVE-23608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karen Coppage updated HIVE-23608:
---------------------------------
Attachment: HIVE-23608.01.patch
Status: Patch Available (was: Open)
> Change an FS#exists call to FS#isFile call in AcidUtils
> -------------------------------------------------------
>
> Key: HIVE-23608
> URL: https://issues.apache.org/jira/browse/HIVE-23608
> Project: Hive
> Issue Type: Improvement
> Reporter: Karen Coppage
> Assignee: Karen Coppage
> Priority: Major
> Attachments: HIVE-23608.01.patch
>
>
> Currently S3AFileSystem#isFile and S3AFileSystem#exists have the same implementation. HADOOP-13230 will optimize S3AFileSystem#isFile by only doing a HEAD request for the file; no need for a LIST probe for a directory (isDir will do that). S3AFileSystem#exists will still need both.
> This and HIVE-23533 will get rid of the last exists() calls in AcidUtils.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)