-RE: YARN tasks and child processes
Devaraj k 2013-07-02, 05:49
It is possible to persist the data by YARN task, you can choose whichever place you want to persist.
If you choose to persist in HDFS, you need to take care deleting the data after using it. If you choose to write in local dir, you may write the data into the nm local dirs (i.e 'yarn.nodemanager.local-dirs' configuration) accordingly with the app id & container id, and this will be cleaned up after the app completion. You need to make use of this persisted data before completing the application.
From: John Lilley [mailto:[EMAIL PROTECTED]]
Sent: 02 July 2013 04:44
To: [EMAIL PROTECTED]
Subject: YARN tasks and child processes
Is it possible for a child process of a YARN task to persist after the task is complete? I am looking at an alternative to a YARN auxiliary process that may be simpler to implement, if I can have a task spawn a process that persists for some time after the task finishes.