hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3375) NodeHealthScriptRunner.shouldRun() check is performing 3 times for starting NodeHealthScriptRunner
Date Tue, 05 May 2015 00:04:44 GMT

    [ https://issues.apache.org/jira/browse/YARN-3375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14527593#comment-14527593
] 

Hudson commented on YARN-3375:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #7728 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/7728/])
YARN-3375. NodeHealthScriptRunner.shouldRun() check is performing 3 times for starting NodeHealthScriptRunner
(Devaraj K via wangda) (wangda: rev 71f4de220c74bf2c90630bd0442979d92380d304)
* hadoop-yarn-project/CHANGES.txt
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/NodeManager.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/NodeHealthCheckerService.java
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/NodeHealthScriptRunner.java


> NodeHealthScriptRunner.shouldRun() check is performing 3 times for starting NodeHealthScriptRunner
> --------------------------------------------------------------------------------------------------
>
>                 Key: YARN-3375
>                 URL: https://issues.apache.org/jira/browse/YARN-3375
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>            Reporter: Devaraj K
>            Assignee: Devaraj K
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: YARN-3375.patch
>
>
> 1. NodeHealthScriptRunner.shouldRun() check is happening 3 times for starting the NodeHealthScriptRunner.
> {code:title=NodeManager.java|borderStyle=solid}
>     if(!NodeHealthScriptRunner.shouldRun(nodeHealthScript)) {
>       LOG.info("Abey khali");
>       return null;
>     }
> {code}
> {code:title=NodeHealthCheckerService.java|borderStyle=solid}
>     if (NodeHealthScriptRunner.shouldRun(
>         conf.get(YarnConfiguration.NM_HEALTH_CHECK_SCRIPT_PATH))) {
>       addService(nodeHealthScriptRunner);
>     }
> {code}
> {code:title=NodeHealthScriptRunner.java|borderStyle=solid}
>     if (!shouldRun(nodeHealthScript)) {
>       LOG.info("Not starting node health monitor");
>       return;
>     }
> {code}
> 2. If we don't configure node health script or configured health script doesn't execute
permission, NM logs with the below message.
> {code:xml}
> 2015-03-19 19:55:45,713 INFO org.apache.hadoop.yarn.server.nodemanager.NodeManager: Abey
khali
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message