MAPREDUCE-6852. Job#updateStatus() failed with NPE due to race condition. Contributed by Junping Du
This commit is contained in:
parent
eeca8b0c4e
commit
747bafaf96
@ -323,7 +323,7 @@ synchronized void updateStatus() throws IOException {
|
||||
this.status = ugi.doAs(new PrivilegedExceptionAction<JobStatus>() {
|
||||
@Override
|
||||
public JobStatus run() throws IOException, InterruptedException {
|
||||
return cluster.getClient().getJobStatus(status.getJobID());
|
||||
return cluster.getClient().getJobStatus(getJobID());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user