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

This commit is contained in:
Varun Saxena 2016-08-08 22:12:53 +05:30
parent 6529fe9345
commit 37d939a453

View File

@ -1221,8 +1221,10 @@ private void writeCredentials(Path nmPrivateCTokensPath)
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));