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

kill command only kill application the session launches in Tez mode

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            daijy Daniel Dai
            daijy Daniel Dai

            Dates

              Created:
              Updated:

              Slack

                Issue deployment