Awesome, it works. Thanks! :)
On 13.05.2015 20:05, Stephan Ewen
wrote:
If you want to write a single file, you need to write it
with one task. So, you can run a program with parallelism 100
and just set the sink operator to parallelism 1.
You can set the parallelism of each individual operator by
calling "setParallelism()" after the operation, for example
"result.writeAsText(path).setParallelism(1)".