hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Chiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5635) Better handling when bad script is configured as Node's HealthScript
Date Tue, 13 Sep 2016 17:26:20 GMT

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

Ray Chiang commented on YARN-5635:

I had captured something in a separate JIRA, but putting it here.  This was my attempt to
sum up the discussion at the end of YARN-5567:

Done as a alternate design to YARN-5567. Define a specific exit code for the health checker
script (property yarn.nodemanager.health-checker.script.path) that allows the node to be blacklisted.

As discussed in the latter part of YARN-5567, the current design requirements are:

# Ignore all exit codes from the script
## _except_ the newly defined error code which will mark the NodeManager as UNHEALTHY
## This allows any syntax or functional errors in the script to be ignored
# Upon failure (or multiple recorded failures):
## Store the status in the metrics2 state on the NodeManager
## Allow the RM to blacklist the NM or allow the jobs to drain, depending on how we want UNHEALTHY
to be treated

> Better handling when bad script is configured as Node's HealthScript
> --------------------------------------------------------------------
>                 Key: YARN-5635
>                 URL: https://issues.apache.org/jira/browse/YARN-5635
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Allen Wittenauer
> Earlier fix to YARN-5567 is reverted because its not ideal to get the whole cluster down
because of a bad script. At the same time its important to report that script is erroneous
which is configured as node health script as it might miss to detect bad health of a node.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message