AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to SetUnhealthyNodeReplacementAsync.

Namespace: Amazon.ElasticMapReduce
Assembly: AWSSDK.ElasticMapReduce.dll
Version: 3.x.y.z

Syntax

C#
public abstract SetUnhealthyNodeReplacementResponse SetUnhealthyNodeReplacement(
         SetUnhealthyNodeReplacementRequest request
)

Parameters

request
Type: Amazon.ElasticMapReduce.Model.SetUnhealthyNodeReplacementRequest

Container for the necessary parameters to execute the SetUnhealthyNodeReplacement service method.

Return Value


The response from the SetUnhealthyNodeReplacement service method, as returned by ElasticMapReduce.

Exceptions

ExceptionCondition
InternalServerErrorException Indicates that an error occurred while processing the request and that the request was not completed.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also