You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2011/09/13 01:21:08 UTC
[jira] [Created] (MAPREDUCE-2990) Health Report on Resource Manager
UI is null if the NM's are all healthy.
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
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(..)
th(health.getHealthReport()?"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
[jira] [Commented] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114250#comment-13114250 ]
Hudson commented on MAPREDUCE-2990:
-----------------------------------
Integrated in Hadoop-Hdfs-trunk #811 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/811/])
MAPREDUCE-2990. Fixed display of NodeHealthStatus. Contributed by Subroto Sanyal.
acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1175351
Files :
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmnode/RMNodeImpl.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestResourceManager.java
> 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
> Assignee: Subroto Sanyal
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-2990(1).patch, MAPREDUCE-2990.1.patch, MAPREDUCE-2990.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
[jira] [Assigned] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Ravi Teja Ch N V (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ravi Teja Ch N V reassigned MAPREDUCE-2990:
-------------------------------------------
Assignee: Ravi Teja Ch N V
> 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
> Assignee: Ravi Teja Ch N V
> Priority: Blocker
> Labels: newbie
>
> 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
[jira] [Updated] (MAPREDUCE-2990) Health Report on Resource Manager
UI is null if the NM's are all healthy.
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy updated MAPREDUCE-2990:
-------------------------------------
Priority: Blocker (was: Major)
> 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
>
> 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
[jira] [Updated] (MAPREDUCE-2990) Health Report on Resource Manager
UI is null if the NM's are all healthy.
Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mahadev konar updated MAPREDUCE-2990:
-------------------------------------
Description:
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.
was:
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(..)
th(health.getHealthReport()?"REPORT HEALTHY": health.getHealthReport);
{code}
Or something like that.
> 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
> Labels: newbie
>
> 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
[jira] [Commented] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114194#comment-13114194 ]
Hudson commented on MAPREDUCE-2990:
-----------------------------------
Integrated in Hadoop-Hdfs-trunk-Commit #1028 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1028/])
MAPREDUCE-2990. Fixed display of NodeHealthStatus. Contributed by Subroto Sanyal.
acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1175351
Files :
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmnode/RMNodeImpl.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestResourceManager.java
> 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
> Assignee: Subroto Sanyal
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-2990(1).patch, MAPREDUCE-2990.1.patch, MAPREDUCE-2990.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
[jira] [Updated] (MAPREDUCE-2990) Health Report on Resource Manager
UI is null if the NM's are all healthy.
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy updated MAPREDUCE-2990:
-------------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
I just committed this. Thanks Subroto!
> 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
> Assignee: Subroto Sanyal
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-2990(1).patch, MAPREDUCE-2990.1.patch, MAPREDUCE-2990.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
[jira] [Updated] (MAPREDUCE-2990) Health Report on Resource Manager
UI is null if the NM's are all healthy.
Posted by "Subroto Sanyal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Subroto Sanyal updated MAPREDUCE-2990:
--------------------------------------
Attachment: MAPREDUCE-2990(1).patch
Attaching the patch for UI change
> 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
> Assignee: Ravi Teja Ch N V
> Priority: Blocker
> Labels: newbie
> 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
[jira] [Commented] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114193#comment-13114193 ]
Hudson commented on MAPREDUCE-2990:
-----------------------------------
Integrated in Hadoop-Common-trunk-Commit #950 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/950/])
MAPREDUCE-2990. Fixed display of NodeHealthStatus. Contributed by Subroto Sanyal.
acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1175351
Files :
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmnode/RMNodeImpl.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestResourceManager.java
> 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
> Assignee: Subroto Sanyal
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-2990(1).patch, MAPREDUCE-2990.1.patch, MAPREDUCE-2990.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
[jira] [Commented] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Subroto Sanyal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113149#comment-13113149 ]
Subroto Sanyal commented on MAPREDUCE-2990:
-------------------------------------------
Hi Mahadev,
I am working on this issue, will be providing a solution very soon....
> 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
[jira] [Updated] (MAPREDUCE-2990) Health Report on Resource Manager
UI is null if the NM's are all healthy.
Posted by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vinod Kumar Vavilapalli updated MAPREDUCE-2990:
-----------------------------------------------
Assignee: (was: Sanjay Radia)
NodeManager shouldn't be passing null health. ever. This null-check done in the patch may be hiding some real bug somewhere. Can you please investigate? You can look in NodeStatusUpdaterImpl and ResourceTrackerService. Thanks!
> 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
[jira] [Updated] (MAPREDUCE-2990) Health Report on Resource Manager
UI is null if the NM's are all healthy.
Posted by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ramkrishna.s.vasudevan updated MAPREDUCE-2990:
----------------------------------------------
Attachment: MAPREDUCE-2990.patch
Attaching the patch for UI change....
> 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
> Assignee: Ravi Teja Ch N V
> Priority: Blocker
> Labels: newbie
> Attachments: MAPREDUCE-2990.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
[jira] [Commented] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113467#comment-13113467 ]
Hadoop QA commented on MAPREDUCE-2990:
--------------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12496273/MAPREDUCE-2990.1.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 3 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed unit tests in .
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/838//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/838//console
This message is automatically generated.
> 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
> Assignee: Subroto Sanyal
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-2990(1).patch, 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
[jira] [Commented] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Subroto Sanyal (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Assigned] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Ravi Teja Ch N V (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ravi Teja Ch N V reassigned MAPREDUCE-2990:
-------------------------------------------
Assignee: (was: Ravi Teja Ch N V)
> 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
> 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
[jira] [Commented] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Subroto Sanyal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113278#comment-13113278 ]
Subroto Sanyal commented on MAPREDUCE-2990:
-------------------------------------------
Hi Vinod/Mahadev,
In case if node is healthy, the node page table will look something like this:
||Rack||Node Address||Node HTTP Address||Health-status||Last health-update||Health-report|| Containers ||
|/default-rack|10.18.52.110:45454|10.18.52.110:9999|Healthy|23-Sep-2011 14:12:58|Healthy||
Both the Columns *Health-Status* and *Health-Report* will display the node as Healthy in case is Node is running fine. Is it OK to have same text in both columns or we can have no text in second column if *Health-Status* is *Healthy*?
> 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
[jira] [Commented] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113150#comment-13113150 ]
Mahadev konar commented on MAPREDUCE-2990:
------------------------------------------
thanks subroto!
> 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
[jira] [Updated] (MAPREDUCE-2990) Health Report on Resource Manager
UI is null if the NM's are all healthy.
Posted by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ramkrishna.s.vasudevan updated MAPREDUCE-2990:
----------------------------------------------
Attachment: (was: MAPREDUCE-2990.patch)
> 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
> Assignee: Ravi Teja Ch N V
> Priority: Blocker
> Labels: newbie
> 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
[jira] [Assigned] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vinod Kumar Vavilapalli reassigned MAPREDUCE-2990:
--------------------------------------------------
Assignee: Subroto Sanyal
bq. Is it OK to have same text in both columns or we can have no text in second column if Health-Status is Healthy?
That depends on the implementation, some health-checker script can decide to set something else even when it is healthy.
It should be fine to have both the columns with the same text in the default case.
> 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
> Assignee: Subroto Sanyal
> 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
[jira] [Commented] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Subroto Sanyal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112449#comment-13112449 ]
Subroto Sanyal commented on MAPREDUCE-2990:
-------------------------------------------
We have the above mentioned problems.
> 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
[jira] [Commented] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114243#comment-13114243 ]
Hudson commented on MAPREDUCE-2990:
-----------------------------------
Integrated in Hadoop-Mapreduce-trunk #841 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/841/])
MAPREDUCE-2990. Fixed display of NodeHealthStatus. Contributed by Subroto Sanyal.
acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1175351
Files :
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmnode/RMNodeImpl.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestResourceManager.java
> 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
> Assignee: Subroto Sanyal
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-2990(1).patch, MAPREDUCE-2990.1.patch, MAPREDUCE-2990.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
[jira] [Updated] (MAPREDUCE-2990) Health Report on Resource Manager
UI is null if the NM's are all healthy.
Posted by "Subroto Sanyal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Subroto Sanyal updated MAPREDUCE-2990:
--------------------------------------
Status: Patch Available (was: Open)
> 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
> Assignee: Ravi Teja Ch N V
> Priority: Blocker
> Labels: newbie
> 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
[jira] [Updated] (MAPREDUCE-2990) Health Report on Resource Manager
UI is null if the NM's are all healthy.
Posted by "Subroto Sanyal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Subroto Sanyal updated MAPREDUCE-2990:
--------------------------------------
Attachment: MAPREDUCE-2990.1.patch
Attached patch.
This patch will make sure to set the NodeHealthStatus stored in RMNodeImpl with every hartbeat...
> 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
> Assignee: Subroto Sanyal
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-2990(1).patch, 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
[jira] [Updated] (MAPREDUCE-2990) Health Report on Resource Manager
UI is null if the NM's are all healthy.
Posted by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vinod Kumar Vavilapalli updated MAPREDUCE-2990:
-----------------------------------------------
Fix Version/s: 0.23.0
Assignee: Sanjay Radia
Status: Open (was: Patch Available)
> 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
> Assignee: Sanjay Radia
> 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
[jira] [Commented] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112675#comment-13112675 ]
Mahadev konar commented on MAPREDUCE-2990:
------------------------------------------
@subroto,
Are you working on fixing the above mentioned issues?
> 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
[jira] [Commented] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Subroto Sanyal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112447#comment-13112447 ]
Subroto Sanyal commented on MAPREDUCE-2990:
-------------------------------------------
1)
The latest nodehealth is not updated at the RMNodeImpl at resourcemanager
Only a event is triggered,in case of a node health status change.
So no matter what's the status of the node, the node page in UI and the node report always shows the node as healthy as the status is never updated.
2)
Even if the NodeHealthChecker script exits with a non-zero exitcode the nodemanager reports the node as healthy.
> 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
[jira] [Commented] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114200#comment-13114200 ]
Hudson commented on MAPREDUCE-2990:
-----------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #968 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/968/])
MAPREDUCE-2990. Fixed display of NodeHealthStatus. Contributed by Subroto Sanyal.
acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1175351
Files :
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmnode/RMNodeImpl.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestResourceManager.java
> 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
> Assignee: Subroto Sanyal
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-2990(1).patch, MAPREDUCE-2990.1.patch, MAPREDUCE-2990.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
[jira] [Commented] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113256#comment-13113256 ]
Vinod Kumar Vavilapalli commented on MAPREDUCE-2990:
----------------------------------------------------
bq. In my opinion the node health should be reported as unhealthy; which will attract the attention of the Script Developer/User
This isn't how the feature was originally implemented, problems in the script don't imply a problem in the node. The node is deemed to be unhealthy only if the script successfully finishes and spits output in ERROR_PATTERN. This is how the feature is used in production code in MRV1, let us not change this.
> 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
[jira] [Commented] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109424#comment-13109424 ]
Hadoop QA commented on MAPREDUCE-2990:
--------------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12495345/MAPREDUCE-2990%281%29.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed unit tests in .
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/809//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/809//console
This message is automatically generated.
> 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
> 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
[jira] [Updated] (MAPREDUCE-2990) Health Report on Resource Manager
UI is null if the NM's are all healthy.
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy updated MAPREDUCE-2990:
-------------------------------------
Attachment: MAPREDUCE-2990.patch
+1 looks good.
Minor changes - called it setNodeHealthStatus to be consistent with the getter and added the writeLock for clarity.
> 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
> Assignee: Subroto Sanyal
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-2990(1).patch, MAPREDUCE-2990.1.patch, MAPREDUCE-2990.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
[jira] [Updated] (MAPREDUCE-2990) Health Report on Resource Manager
UI is null if the NM's are all healthy.
Posted by "Subroto Sanyal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Subroto Sanyal updated MAPREDUCE-2990:
--------------------------------------
Labels: (was: newbie)
Status: Patch Available (was: Open)
> 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
> Assignee: Subroto Sanyal
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-2990(1).patch, 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
[jira] [Commented] (MAPREDUCE-2990) Health Report on Resource
Manager UI is null if the NM's are all healthy.
Posted by "Subroto Sanyal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109452#comment-13109452 ]
Subroto Sanyal commented on MAPREDUCE-2990:
-------------------------------------------
The changes impacts the UI, so no test included with the patch.
> 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
> 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