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 2018/07/24 19:51:02 UTC

[jira] [Updated] (HADOOP-15492) increase performance of s3guard import command

     [ https://issues.apache.org/jira/browse/HADOOP-15492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-15492:
------------------------------------
    Parent: HADOOP-15619  (was: HADOOP-15226)

> increase performance of s3guard import command
> ----------------------------------------------
>
>                 Key: HADOOP-15492
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15492
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>            Reporter: Steve Loughran
>            Priority: Major
>
> Some perf improvements which spring to mind having looked at the s3guard import command
> Key points: it can handle the import of a tree with existing data better
> # if the bucket is already under s3guard, then the listing will return all listed files, which will then be put() again.
> # import calls {{putParentsIfNotPresent()}}, but DDBMetaStore.put() will do the parent creation anyway
> # For each entry in the store (i.e. a file), the full parent listing is created, then a batch write created to put all the parents and the actual file
> As a result, it's at risk of doing many more put calls than needed, especially for wide/deep directory trees.
> It would be much more efficient to put all files in a single directory as part of 1+ batch request, with 1 parent tree. Better yet: a get() of that parent could skip the put of parent entries.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org