GitHub user maropu opened a pull request:
https://github.com/apache/spark/pull/12068
[SPARK-14259][SQL] Add a FileSourceStrategy option for limiting #files in a
partition
## What changes were proposed in this pull request?
This pr is to add a config to control the maximum number of files as even
small files have a non-trivial fixed cost. The current packing can put a lot of
small files together which cases straggler tasks.
## How was this patch tested?
I added tests to check if many files get split into partitions in
FileSourceStrategySuite.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/maropu/spark SPARK-14259
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12068.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #12068
----
commit 67cd08f3892b3a23ddeb4639f4e3649ac32b7a9a
Author: Takeshi YAMAMURO <[email protected]>
Date: 2016-03-30T11:18:01Z
Add an FileSourceStrategy option for limiting #files in a partition
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]