[ https://issues.apache.org/jira/browse/MAPREDUCE-5542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14169028#comment-14169028 ]
Rohith commented on MAPREDUCE-5542: ----------------------------------- I updated the patch. Please review.. Approach I followed is whenever job status is null check the job status only in RM for finished or not.If finished/killed/failed, and return silently. I consider the scenario where if application state is not finished/killed/failed , then stil potentially throw NPE from patch. CMIAW, but here I do not think the scenario where JobStatus is null and application is still running!!?? > 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 > > > 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)