MAPREDUCE-6210. Use getApplicationAttemptId() instead of getApplicationID() for logging AttemptId in RMContainerAllocator.java (Contributed by Leitao Guo)
(cherry picked from commit d336d13678
)
This commit is contained in:
parent
0119e717ae
commit
2e5eef9da2
|
@ -38,6 +38,9 @@ Release 2.7.0 - UNRELEASED
|
|||
|
||||
BUG FIXES
|
||||
|
||||
MAPREDUCE-6210. Use getApplicationAttemptId() instead of getApplicationId()
|
||||
for logging AttemptId in RMContainerAllocator.java (Leitao Guo via aajisaka)
|
||||
|
||||
MAPREDUCE-6177. Minor typo in the EncryptedShuffle document about
|
||||
ssl-client.xml (Yangping Wu via harsh)
|
||||
|
||||
|
|
|
@ -674,7 +674,7 @@ public class RMContainerAllocator extends RMContainerRequestor
|
|||
JobEventType.JOB_AM_REBOOT));
|
||||
throw new YarnRuntimeException(
|
||||
"Resource Manager doesn't recognize AttemptId: "
|
||||
+ this.getContext().getApplicationID(), e);
|
||||
+ this.getContext().getApplicationAttemptId(), e);
|
||||
} catch (ApplicationMasterNotRegisteredException e) {
|
||||
LOG.info("ApplicationMaster is out of sync with ResourceManager,"
|
||||
+ " hence resync and send outstanding requests.");
|
||||
|
|
Loading…
Reference in New Issue