You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Ray Chiang (JIRA)" <ji...@apache.org> on 2016/09/13 16:07:21 UTC
[jira] [Created] (YARN-5644) Define exit code for allowing
NodeManager health script to mar
Ray Chiang created YARN-5644:
--------------------------------
Summary: Define exit code for allowing NodeManager health script to mar
Key: YARN-5644
URL: https://issues.apache.org/jira/browse/YARN-5644
Project: Hadoop YARN
Issue Type: Sub-task
Components: nodemanager
Affects Versions: 3.0.0-alpha2
Reporter: Ray Chiang
Assignee: Yufei Gu
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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org