You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Karen Coppage (Jira)" <ji...@apache.org> on 2020/06/04 06:33:00 UTC
[jira] [Created] (HIVE-23608) Change an FS#exists call to FS#isFile
call in AcidUtils
Karen Coppage created HIVE-23608:
------------------------------------
Summary: 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
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)