YARN-5693. Reduce loglevel to Debug in ContainerManagementProtocolProxy and AMRMClientImpl (yufeigu via rkanter)
(cherry picked from commit 2549ee9d4c4ddd3ebccdebb8623df30c0a8f27d2)
This commit is contained in:
parent
dfca0f4abb
commit
56ec975ea9
@ -455,10 +455,12 @@ protected void removePendingChangeRequests(
|
||||
protected void populateNMTokens(List<NMToken> nmTokens) {
|
||||
for (NMToken token : nmTokens) {
|
||||
String nodeId = token.getNodeId().toString();
|
||||
if (getNMTokenCache().containsToken(nodeId)) {
|
||||
LOG.info("Replacing token for : " + nodeId);
|
||||
} else {
|
||||
LOG.info("Received new token for : " + nodeId);
|
||||
if (LOG.isDebugEnabled()) {
|
||||
if (getNMTokenCache().containsToken(nodeId)) {
|
||||
LOG.debug("Replacing token for : " + nodeId);
|
||||
} else {
|
||||
LOG.debug("Received new token for : " + nodeId);
|
||||
}
|
||||
}
|
||||
getNMTokenCache().setToken(nodeId, token.getToken());
|
||||
}
|
||||
|
@ -78,8 +78,11 @@ public ContainerManagementProtocolProxy(Configuration conf,
|
||||
YarnConfiguration.NM_CLIENT_MAX_NM_PROXIES
|
||||
+ " (" + maxConnectedNMs + ") can not be less than 0.");
|
||||
}
|
||||
LOG.info(YarnConfiguration.NM_CLIENT_MAX_NM_PROXIES + " : "
|
||||
+ maxConnectedNMs);
|
||||
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug(YarnConfiguration.NM_CLIENT_MAX_NM_PROXIES + " : " +
|
||||
maxConnectedNMs);
|
||||
}
|
||||
|
||||
if (maxConnectedNMs > 0) {
|
||||
cmProxy =
|
||||
|
Loading…
x
Reference in New Issue
Block a user