YARN-10369. Make NMTokenSecretManagerInRM sending NMToken for nodeId DEBUG. Contributed by Jim Brennan.

This commit is contained in:
bibinchundatt 2020-07-29 23:26:08 +05:30
parent 68287371cc
commit 5d8600e80a
1 changed files with 2 additions and 2 deletions

View File

@ -197,8 +197,8 @@ public class NMTokenSecretManagerInRM extends BaseNMTokenSecretManager {
NMToken nmToken = null; NMToken nmToken = null;
if (nodeSet != null) { if (nodeSet != null) {
if (!nodeSet.contains(container.getNodeId())) { if (!nodeSet.contains(container.getNodeId())) {
LOG.info("Sending NMToken for nodeId : " + container.getNodeId() LOG.debug("Sending NMToken for nodeId : {} for container : {}",
+ " for container : " + container.getId()); container.getNodeId(), container.getId());
Token token = Token token =
createNMToken(container.getId().getApplicationAttemptId(), createNMToken(container.getId().getApplicationAttemptId(),
container.getNodeId(), applicationSubmitter); container.getNodeId(), applicationSubmitter);