Skip to content

Commit 4da4dc7

Browse files
committed
YARN-269. Resource Manager not logging the health_check_script result when taking it out. Contributed by Jason Lowe
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1451341 13f79535-47bb-0310-9956-ffa450edef68
1 parent 06bed32 commit 4da4dc7

File tree

2 files changed

+5
-0
lines changed
  • hadoop-yarn-project
    • hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmnode

2 files changed

+5
-0
lines changed

hadoop-yarn-project/CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,9 @@ Release 0.23.7 - UNRELEASED
325325
YARN-236. RM should point tracking URL to RM web page when app fails to
326326
start (Jason Lowe via jeagles)
327327

328+
YARN-269. Resource Manager not logging the health_check_script result when
329+
taking it out (Jason Lowe via kihwal)
330+
328331
OPTIMIZATIONS
329332

330333
YARN-357. App submission should not be synchronized (daryn)

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmnode/RMNodeImpl.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,8 @@ public NodeState transition(RMNodeImpl rmNode, RMNodeEvent event) {
498498
statusEvent.getNodeHealthStatus();
499499
rmNode.setNodeHealthStatus(remoteNodeHealthStatus);
500500
if (!remoteNodeHealthStatus.getIsNodeHealthy()) {
501+
LOG.info("Node " + rmNode.nodeId + " reported UNHEALTHY with details: "
502+
+ remoteNodeHealthStatus.getHealthReport());
501503
rmNode.nodeUpdateQueue.clear();
502504
// Inform the scheduler
503505
rmNode.context.getDispatcher().getEventHandler().handle(

0 commit comments

Comments
 (0)