You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2017/09/05 09:00:18 UTC
[jira] [Resolved] (HADOOP-13950) S3A create(path, overwrite=true)
need only check for path being a dir, not a file
[ https://issues.apache.org/jira/browse/HADOOP-13950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Loughran resolved HADOOP-13950.
-------------------------------------
Resolution: Duplicate
> S3A create(path, overwrite=true) need only check for path being a dir, not a file
> ---------------------------------------------------------------------------------
>
> Key: HADOOP-13950
> URL: https://issues.apache.org/jira/browse/HADOOP-13950
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3
> Affects Versions: 2.7.3
> Reporter: Steve Loughran
> Priority: Minor
>
> When you create a file with overwrite=true, you don't care that a path resolves to a file, only that there isn't a directory at the destination.
> S3A can use this, bypass the {{GET path}} and only do a {{GET path + "/"}} and LIST path. That way: one HTTPS request saved, and no negative caching of the path to confuse followup checks.
> That is: better performance and consistency
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org