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:
Zhijie Shen 2014-09-11 22:19:00 -07:00
parent f580586ab7
commit 466bdf79c5
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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());
} }
/* /*