Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4236

JobTracker.killJob() fails to kill a job if the job is not yet initialized

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.19.0
    • 0.19.0
    • None
    • None

    Description

      HADOOP-3864 made the following changes to JobTracker.killJob()

         public synchronized void killJob(JobID jobid) {
           JobInProgress job = jobs.get(jobid);
      -    job.kill();
      +    if (job.inited()) {
      +      job.kill();
      +    }
         }
      

      This is a bug as a job will not get killed if its not yet initialized.

      Attachments

        1. 4236_v5.patch
          10 kB
          Sharad Agarwal
        2. 4236_v4.patch
          9 kB
          Sharad Agarwal
        3. 4236_v3.patch
          9 kB
          Sharad Agarwal
        4. 4236_v2.patch
          4 kB
          Sharad Agarwal
        5. 4236_v1.patch
          4 kB
          Sharad Agarwal

        Issue Links

        Activity

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

          People

            sharadag Sharad Agarwal Assign to me
            amar_kamat Amar Kamat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment