Re: Write File on specific machine

Posted by Till Rohrmann on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Write-File-on-specific-machine-tp1344p1345.html

Hi Hilmi,

in Flink you cannot control on which machines the individual tasks are scheduled. Therefore, you cannot control on which machine the data is written. However, you can control that only on one machine a file is created by setting the degree of parallelism of the DataSink to 1.

Cheers,
Till


On Fri, May 22, 2015 at 3:52 PM, Hilmi Yildirim <[hidden email]> wrote:
Hi,
I want to write the result of a batch process into a file. I want that the result is written on a specific machine. For example, I have 4 machines (m1.example.com, m2.example.com, m3.example.com, m4.example.com). Now, I want that the results go to m1 and that m1 writes the result in a file in its local filesystem.

Does anyone knows how I can do that?

Best Regards,
Hilmi

--
--
Hilmi Yildirim
Software Developer R&D

http://www.neofonie.de

Besuchen Sie den Neo Tech Blog für Anwender:
http://blog.neofonie.de/

Folgen Sie uns:
https://plus.google.com/+neofonie
http://www.linkedin.com/company/neofonie-gmbh
https://www.xing.com/companies/neofoniegmbh

Neofonie GmbH | Robert-Koch-Platz 4 | 10115 Berlin
Handelsregister Berlin-Charlottenburg: HRB 67460
Geschäftsführung: Thomas Kitlitschko