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

Check for DAG status before trying to kill

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.18.0
    • None
    • None
    • Reviewed

    Description

      The killJob is invokedby

      • grunt kill command
      • thread interrupt in Main (mostly in case of Oozie)
      • HangingJobKiller during shutdown

      killJob tries to kill the DAG again even if it was completed. It closes the session but does not remove it from the TezSessionManager session pool. Though both of these are minor issues and have no adverse impact (trying to kill a done DAG would be ignored by Tez AM and TezSessionManager would later check status of the session and remove it from the pool) the fix would avoid the two unnecessary calls to AM.

      Attachments

        1. PIG-5327-1.patch
          0.8 kB
          Rohini Palaniswamy

        Activity

          People

            rohini Rohini Palaniswamy
            rohini Rohini Palaniswamy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: