Chinmay Soman created SAMZA-344:
-----------------------------------
Summary: Make task.opts easier to user (part 2)
Key: SAMZA-344
URL: https://issues.apache.org/jira/browse/SAMZA-344
Project: Samza
Issue Type: Sub-task
Components: container
Affects Versions: 0.8.0
Reporter: Chinmay Soman
Assignee: Chinmay Soman
Address following things in this sub-task:
4. Make ProcessJobFactory behave like YarnJobFactory.
(4) means that ProcessJob and YarnJob should both save a job ID file somewhere
(configurable). The ProcessJob's job ID file will contain the PID of the
SamzaContainer. The YarnJob's job ID file will contain the application attempt
ID for the Samza job in the YARN cluster. We should update kill-job.sh to take
a job ID, but to default to a standard location (e.g.
bin/../samza-job-name.pid). The YarnJob will use the job ID to kill the job in
the YARN cluster. The ProcessJob will use the PID to kill the job locally.
We'll need to update the StreamJob interface to support this.
--
This message was sent by Atlassian JIRA
(v6.2#6252)