You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2016/12/12 17:22:58 UTC
[jira] [Commented] (MAPREDUCE-6760) LocatedFileStatusFetcher to use
listFiles(recursive)
[ https://issues.apache.org/jira/browse/MAPREDUCE-6760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15742512#comment-15742512 ]
Steve Loughran commented on MAPREDUCE-6760:
-------------------------------------------
one problem here is that it's using globStatus(). The code should check to see if there's a wildcard in the scan, and if not, go to the optimal API call.
Of course, if globStatus() did that check and action itself, everything which called that API would get a speedup. That could be be the better tactic
> LocatedFileStatusFetcher to use listFiles(recursive)
> ----------------------------------------------------
>
> Key: MAPREDUCE-6760
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6760
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: mrv2
> Affects Versions: 2.8.0
> Reporter: Steve Loughran
>
> {{LocatedFileStatusFetcher}} does parallelized path listing, but it does make recursive calls on every subdir.
> If we could switch it to use {{FileSystem.listFiles(recursive)}}, object stores that have high-performance implementations of that operation would see significant speedup.
> HADOOP-13208 implements that for S3A; Azure, swift &c can do the same.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org