YARN-4910. Fix incomplete log info in ResourceLocalizationService (Jun Gong via Varun Saxena)

This commit is contained in:
Varun Saxena 2016-08-08 22:14:56 +05:30
parent 8b09292f4f
commit ce8df272f4
1 changed files with 3 additions and 1 deletions

View File

@ -1221,8 +1221,10 @@ public class ResourceLocalizationService extends CompositeService
tokenOut =
lfs.create(nmPrivateCTokensPath, EnumSet.of(CREATE, OVERWRITE));
LOG.info("Writing credentials to the nmPrivate file "
+ nmPrivateCTokensPath.toString() + ". Credentials list: ");
+ nmPrivateCTokensPath.toString());
if (LOG.isDebugEnabled()) {
LOG.debug("Credentials list in " + nmPrivateCTokensPath.toString()
+ ": ");
for (Token<? extends TokenIdentifier> tk : credentials
.getAllTokens()) {
LOG.debug(tk + " : " + buildTokenFingerprint(tk));