Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-109 Make task.opts easier to use
  3. SAMZA-344

Make task.opts easier to user (part 2)

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • container
    • None

    Description

      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.

      Attachments

        Activity

          People

            cpsoman Chinmay Soman
            cpsoman Chinmay Soman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: