[
https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113207#comment-13113207
]
Subroto Sanyal commented on MAPREDUCE-2990:
-------------------------------------------
One more point to check here is:
{code}
case FAILED_WITH_EXIT_CODE:
setHealthStatus(true, "", now);
break;
{code}
The API has following documentation snippet:
{noformat}
* If the script throws {@link IOException} or {@link ExitCodeException} the
* output is ignored and node is left remaining healthy, as script might
* have syntax error.
{noformat}
If this is the case, then user may not come to about the problem in script.
In my opinion the node health should be reported as unhealthy; which will
attract the attention of the Script Developer/User
> Health Report on Resource Manager UI is null if the NM's are all healthy.
> -------------------------------------------------------------------------
>
> Key: MAPREDUCE-2990
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2990
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Mahadev konar
> Priority: Blocker
> Labels: newbie
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-2990(1).patch
>
>
> The web UI on the RM for the link Nodes shows that Health-report as null when
> the NM is healthy.
> This is a simple fix where in we can check for null in NodesPage.java and put
> something meaningful instead of null.
> NodesPage.java:
> {code}
> render(..)
> td((health.getHealthReport() == null) ?"REPORT HEALTHY":
> health.getHealthReport());
> {code}
> Or something like that.
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira