You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2018/05/15 10:50:00 UTC
[jira] [Created] (SPARK-24280) Speed up indexing of files in object
stores by using listFiles(path, recursive=true)
Steve Loughran created SPARK-24280:
--------------------------------------
Summary: Speed up indexing of files in object stores by using listFiles(path, recursive=true)
Key: SPARK-24280
URL: https://issues.apache.org/jira/browse/SPARK-24280
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 2.3.0
Reporter: Steve Loughran
Object stores which mock directory structures can have awful performance when a treewalk is executed on them. The {{FileSystem.listFiles(path, recursive=true)}} call can reduce this overhead to ~ O(1) by doing bulk paged listing of all files under a path. For filesystems without this operation, the treewalk is implemented behind the scenes: no cost compared to today's code, just a simplification
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org