hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wang Hao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-3059) RM web page can not display NM's health report which is healthy
Date Wed, 14 Jan 2015 02:50:34 GMT

     [ https://issues.apache.org/jira/browse/YARN-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Wang Hao updated YARN-3059:
---------------------------
    Description: 
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 transfered between RM and
NM. But I think we want to see the health report of NM in some cases.

  was:
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.


> 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 transfered 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)

Mime
View raw message