Re: WriteAsText bug or bad name?
Posted by
Márton Balassi on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/WriteAsText-bug-or-bad-name-tp236p238.html
Dear Flavio,
Yes, the writeAsText() merthod really creates a folder which contains a file for each execution thread, so your threads do not block each other and the execution can use multiple cores on your machine. You can see similar results if you try it with env.execute() from an IDE.
There are filesystems, HDFS to mention the most prominent one which can transparently treat such folder structure as a single file and then it would behave as you expect. I hope this answers your question.
Best,
Marton