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