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: [email protected]
For additional commands, e-mail: [email protected]