Module Values.SetUnhealthyNodeReplacementInputSource

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.

Sourcetype nonrec t = {
  1. jobFlowIds : XmlStringList.t;
    (*

    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 RunJobFlow or the DescribeJobFlows operations.

    *)
  2. unhealthyNodeReplacement : BooleanObject.t;
    (*

    Indicates whether to turn on or turn off graceful unhealthy node replacement.

    *)
}
Sourceval context_ : string
Sourceval make : jobFlowIds:XmlStringList.t -> unhealthyNodeReplacement:BooleanObject.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BooleanObject.t | `List of [> `String of XmlString.t ] list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t