slfan1989 commented on code in PR #4614:
URL: https://github.com/apache/hadoop/pull/4614#discussion_r929600357
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/FederationInterceptorREST.java:
##########
@@ -958,7 +956,7 @@ public NodesInfo getNodes(String states) {
try {
subClustersActive = getActiveSubclusters();
} catch (Exception e) {
- LOG.error("Cannot get nodes: {}", e.getMessage());
+ LOG.error("Cannot get nodes: {}", e.getMessage(), e);
Review Comment:
This part does not require full stack trace. I will refactor this part of
the code to use `invokeConcurrent`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]