Set Unhealthy Node Replacement
emr_set_unhealthy_node_replacement | R Documentation |
Specify whether to enable unhealthy node replacement, which lets Amazon EMR gracefully replace core nodes on a cluster if any nodes become unhealthy¶
Description¶
Specify whether to enable unhealthy node replacement, which lets Amazon
EMR gracefully replace core nodes on a cluster if any nodes become
unhealthy. For example, a node becomes unhealthy if disk usage is above
90%. If unhealthy node replacement is on and TerminationProtected
are
off, Amazon EMR immediately terminates the unhealthy core nodes. To use
unhealthy node replacement and retain unhealthy core nodes, use to turn
on termination protection. In such cases, Amazon EMR adds the unhealthy
nodes to a denylist, reducing job interruptions and failures.
If unhealthy node replacement is on, Amazon EMR notifies YARN and other applications on the cluster to stop scheduling tasks with these nodes, moves the data, and then terminates the nodes.
For more information, see graceful node replacement in the Amazon EMR Management Guide.
Usage¶
Arguments¶
JobFlowIds
[required] The list of strings that uniquely identify the clusters for which to turn on unhealthy node replacement. You can get these identifiers by running the
run_job_flow
or thedescribe_job_flows
operations.UnhealthyNodeReplacement
[required] Indicates whether to turn on or turn off graceful unhealthy node replacement.
Value¶
An empty list.