YARN-2538. Added logs when RM sends roll-overed AMRMToken to AM. Contributed by Xuan Gong.

This commit is contained in:
Zhijie Shen 2014-09-11 22:19:00 -07:00
parent 5633da2a01
commit 469ea3dcef
2 changed files with 5 additions and 0 deletions

View File

@ -208,6 +208,9 @@ Release 2.6.0 - UNRELEASED
YARN-2448. Changed ApplicationMasterProtocol to expose RM-recognized resource
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
BUG FIXES

View File

@ -581,6 +581,8 @@ public class ApplicationMasterService extends AbstractService implements
.newInstance(amrmToken.getIdentifier(), amrmToken.getKind()
.toString(), amrmToken.getPassword(), amrmToken.getService()
.toString()));
LOG.info("The AMRMToken has been rolled-over. Send new AMRMToken back"
+ " to application: " + appAttemptId.getApplicationId());
}
/*