YARN-4910. Fix incomplete log info in ResourceLocalizationService (Jun Gong via Varun Saxena)
This commit is contained in:
parent
6529fe9345
commit
37d939a453
@ -1221,8 +1221,10 @@ private void writeCredentials(Path nmPrivateCTokensPath)
|
|||||||
tokenOut =
|
tokenOut =
|
||||||
lfs.create(nmPrivateCTokensPath, EnumSet.of(CREATE, OVERWRITE));
|
lfs.create(nmPrivateCTokensPath, EnumSet.of(CREATE, OVERWRITE));
|
||||||
LOG.info("Writing credentials to the nmPrivate file "
|
LOG.info("Writing credentials to the nmPrivate file "
|
||||||
+ nmPrivateCTokensPath.toString() + ". Credentials list: ");
|
+ nmPrivateCTokensPath.toString());
|
||||||
if (LOG.isDebugEnabled()) {
|
if (LOG.isDebugEnabled()) {
|
||||||
|
LOG.debug("Credentials list in " + nmPrivateCTokensPath.toString()
|
||||||
|
+ ": ");
|
||||||
for (Token<? extends TokenIdentifier> tk : credentials
|
for (Token<? extends TokenIdentifier> tk : credentials
|
||||||
.getAllTokens()) {
|
.getAllTokens()) {
|
||||||
LOG.debug(tk + " : " + buildTokenFingerprint(tk));
|
LOG.debug(tk + " : " + buildTokenFingerprint(tk));
|
||||||
|
Loading…
Reference in New Issue
Block a user