YARN-10369. Make NMTokenSecretManagerInRM sending NMToken for nodeId DEBUG. Contributed by Jim Brennan.
(cherry picked from commit 5d8600e80a
)
This commit is contained in:
parent
c3dbbd66b9
commit
daff39a601
|
@ -197,8 +197,9 @@ 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(
|
||||||
+ " for container : " + container.getId());
|
String.format("Sending NMToken for nodeId : %s for container : %s",
|
||||||
|
container.getNodeId().toString(), container.getId().toString()));
|
||||||
Token token =
|
Token token =
|
||||||
createNMToken(container.getId().getApplicationAttemptId(),
|
createNMToken(container.getId().getApplicationAttemptId(),
|
||||||
container.getNodeId(), applicationSubmitter);
|
container.getNodeId(), applicationSubmitter);
|
||||||
|
|
Loading…
Reference in New Issue