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 "Sean Mackrory (JIRA)" <ji...@apache.org> on 2017/06/16 15:28:00 UTC
[jira] [Commented] (HADOOP-14505) simplify mkdirs() after S3Guard
delete tracking change
[ https://issues.apache.org/jira/browse/HADOOP-14505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16052030#comment-16052030 ]
Sean Mackrory commented on HADOOP-14505:
----------------------------------------
So the changes in HADOOP-13760 actually make a batch of mkdirs perform about half as well as it used to. I've confirmed that this patch fixes it. It won't apply cleanly to trunk right now just because it includes the new parameter to makeDirsOrders added in HADOOP-14457, so we could easily reverse the order of those 2 patches if we wanted.
> simplify mkdirs() after S3Guard delete tracking change
> ------------------------------------------------------
>
> Key: HADOOP-14505
> URL: https://issues.apache.org/jira/browse/HADOOP-14505
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3
> Reporter: Aaron Fabbri
> Priority: Minor
> Attachments: HADOOP-14505-HADOOP-13345.001.patch
>
>
> I noticed after reviewing the S3Guard delete tracking changes for HADOOP-13760, that mkdirs() can probably be simplified, replacing the use of checkPathForDirectory() with a simple getFileStatus().
> Creating a separate JIRA so these changes can be reviewed / tested in isolation.
--
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