Wang Hao created YARN-3059: ------------------------------ Summary: RM web page can not display NM's health report which is healthy Key: YARN-3059 URL: https://issues.apache.org/jira/browse/YARN-3059 Project: Hadoop YARN Issue Type: Bug Components: nodemanager Affects Versions: 2.5.1 Reporter: Wang Hao
If the NM is healthy, it's health report can not display in RM web page. In function reportHealthStatus of NodeHealthMonitorExecutor, I found that if the HealthCheckerExitStatus is successful, the output was set to a empty string in function setHealthStatus. so,I change the code “setHealthStatus(true, "", now)” to “setHealthStatus(true,shexec.getOutput(), now)” . Then, the RM web page can display the NM's health report. Maybe set the output to a empty string can decrease the data that transfer ed between RM and NM. But I think we want to see the health report of NM in some cases. -- This message was sent by Atlassian JIRA (v6.3.4#6332)