[ https://issues.apache.org/jira/browse/MAPREDUCE-5542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14173894#comment-14173894 ]
Jason Lowe commented on MAPREDUCE-5542: --------------------------------------- Thanks for updating the patch. The logic in the new isJobFinished does not look correct. isJobFinished will always return true as currently written. Also the name doesn't seem to match how it's being used. The while condition now reads that it should keep looping while the job is finished, but we want to loop while the job is still active. > Killing a job just as it finishes can generate an NPE in client > --------------------------------------------------------------- > > Key: MAPREDUCE-5542 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5542 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: client, mrv2 > Affects Versions: 2.1.0-beta, 0.23.9 > Reporter: Jason Lowe > Assignee: Rohith > Attachments: MAPREDUCE-5542.1.patch, MAPREDUCE-5542.2.patch, > MAPREDUCE-5542.3.patch, MAPREDUCE-5542.4.patch, MAPREDUCE-5542.5.patch > > > If a client tries to kill a job just as the job is finishing then the client > can crash with an NPE. -- This message was sent by Atlassian JIRA (v6.3.4#6332)