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

kill command only kill application the session launches in Tez mode

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 0.18.0
    • Component/s: tez
    • Labels:
      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

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

              Dates

              • Created:
                Updated: