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

kill command only kill application the session launches in Tez mode

    XMLWordPrintableJSON

Details

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

    Description

      "kill applicationId" does not work in general. Here is the existing code:

      public void killJob(String jobID, Configuration conf) throws BackendException {
              if (runningJob != null && runningJob.getApplicationId().toString() == jobID) {
                  try {
                      runningJob.killJob();
                  } catch (Exception e) {
                      throw new BackendException(e);
                  }
              } else {
                  log.info("Cannot find job: " + jobID);
              }
          }
      

      It only kill application the client launches. It is different than what we have in MapReduce.

      Attachments

        Activity

          People

            daijy Daniel Dai
            daijy Daniel Dai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: