Github user StephanEwen commented on the pull request:
https://github.com/apache/incubator-flink/pull/188#issuecomment-62372174
It uses all of them, round robin fashion. (Actually one I/O thread is
sticky with one directory, but files are distributed round robin across
threads).
The idea was to use all of the directories initially and gradually exclude
directories as they become full. This is tricky, though, as mentioned before,
because it is hard to define when a directory should be considered full.
I would guess we would need to define that relative to the space available
in other temp dirs. That way we do not introduce an absolute threshold and keep
small setups running.
---
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.
---