Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3446 Umbrella jira for Pig on Tez
  3. PIG-3602

Tear down TezSessions when Pig exits

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: tez-branch
    • Fix Version/s: tez-branch
    • Component/s: tez
    • Labels:
      None

      Description

      Currently, Pig reuses AMs via TezSession, but they are not shut down when Pig exits. There are two problems that I noticed with this-

      1. Tez jobs are not marked as finished until TezSessions are expired after timeout. Since they occupy task slots, it blocks submitting jobs.
      2. ant clean test-tez leaves orphan processes (DAGAppMaster).

      Ideally, TezSession should be kept alive while Pig runs but tore down when Pig exits.

        Attachments

        1. PIG-3602-1.patch
          3 kB
          Rohini Palaniswamy
        2. PIG-3602-2.patch
          5 kB
          Rohini Palaniswamy
        3. PIG-3602-3.patch
          5 kB
          Rohini Palaniswamy
        4. unit_test.txt
          36 kB
          Cheolsoo Park

          Activity

            People

            • Assignee:
              rohini Rohini Palaniswamy
              Reporter:
              cheolsoo Cheolsoo Park
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: