Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3524

Clean up Launcher and MapReduceLauncher after PIG-3419

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.13.0
    • impl
    • None
    • Patch Available

    Description

      This is clean-up that I did for Launcher and MapReduceLauncher as part of PIG-3502. I'd like to merge applicable changes from tez branch to trunk so that they will not diverge too much over time.

      The changes include:

      1. Rename ExecutionEngineKiller to HangingJobKiller and move it from PigContext to Launcher. This brings back HangingJobKiller to its original place before PIG-3419.
      2. Remove kill() method from the ExecutionEngine interface. It was needed only by ExecutionEngineKiller, but after #1, it's no longer needed.
      3. Refactor Launcher and MapReduceLauncer classes. Basically, move MR-specific stuff to MapReduceLauncher and common stuff to Launcher.

      Attachments

        1. PIG-3524-1.patch
          18 kB
          Cheolsoo Park

        Issue Links

          Activity

            People

              cheolsoo Cheolsoo Park
              cheolsoo Cheolsoo Park
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: