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

Pig does not kill all the jobs during shutdown for hadoop2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Current code -

      for (Job job : jc.getRunningJobs()) {
                          RunningJob runningJob = getJob(job.getJobClient(), job.getAssignedJobID());
                          if (runningJob!=null) {
                              runningJob.killJob();
                              log.info("Job " + job.getAssignedJobID() + " killed");
                          }
                      }
      

      is not sufficient for killing all the submitted jobs. It does not kill the jobs that are submitted to the cluster but are in UNDEFINED state (with appid but no app-master).

      Attachments

        Issue Links

          Activity

            People

              aniket486 Aniket Namadeo Mokashi
              aniket486 Aniket Namadeo Mokashi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: