YARN-2538. Added logs when RM sends roll-overed AMRMToken to AM. Contributed by Xuan Gong.
(cherry picked from commit 469ea3dcef
)
This commit is contained in:
parent
f580586ab7
commit
466bdf79c5
|
@ -182,6 +182,9 @@ Release 2.6.0 - UNRELEASED
|
||||||
YARN-2448. Changed ApplicationMasterProtocol to expose RM-recognized resource
|
YARN-2448. Changed ApplicationMasterProtocol to expose RM-recognized resource
|
||||||
types to the AMs. (Varun Vasudev via vinodkv)
|
types to the AMs. (Varun Vasudev via vinodkv)
|
||||||
|
|
||||||
|
YARN-2538. Added logs when RM sends roll-overed AMRMToken to AM. (Xuan Gong
|
||||||
|
via zjshen)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -581,6 +581,8 @@ public class ApplicationMasterService extends AbstractService implements
|
||||||
.newInstance(amrmToken.getIdentifier(), amrmToken.getKind()
|
.newInstance(amrmToken.getIdentifier(), amrmToken.getKind()
|
||||||
.toString(), amrmToken.getPassword(), amrmToken.getService()
|
.toString(), amrmToken.getPassword(), amrmToken.getService()
|
||||||
.toString()));
|
.toString()));
|
||||||
|
LOG.info("The AMRMToken has been rolled-over. Send new AMRMToken back"
|
||||||
|
+ " to application: " + appAttemptId.getApplicationId());
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue