1 Answer
- Newest
- Most votes
- Most comments
1
An EMR cluster can only have one instance fleet per type i.e. one primary fleet, one core fleet, and one task fleet.
User defines capacity not instance count while configuring an instance fleet. Each instance type has a weight associated with it which means how many capacity units equate to a single instance of that type.
Scale-out
Given: Cluster: My Cluster, id: j-ZVUZNG4PJR InstanceFleets: Core Instance Fleet, id if-33LN8PHHHF4NS
{
"policyName": "ScaleOut_CoreFleet_MyCluster_if-33LN8PHHHF4NS",
"serviceNamespace": "elasticmapreduce",
"resourceId": "instanceFleet/j-ZVUZNG4PJR/if-33LN8PHHHF4NS",
"scalableDimension": "elasticmapreduce:instancefleet:CoreFleetSpotCapacity",
"policyType": "SimpleScaling",
"simpleScalingPolicyConfiguration": {
"adjustmentType": "ChangeInCapacity",
"scalingAdjustment": "1",
"300": "number", // In number of seconds
}
}
Scale-in
Given: Cluster: My Cluster, id: j-ZVUZNG4PJR InstanceFleets: Core Instance Fleet, id if-33LN8PHHHF4NS
{
"policyName": "ScaleIn_CoreFleet_MyCluster_if-33LN8PHHHF4NS",
"serviceNamespace": "elasticmapreduce",
"resourceId": "instanceGroup/j-ZVUZNG4PJR/if-33LN8PHHHF4NS",
"scalableDimension": "elasticmapreduce:instancefleet:CoreFleetOnDemandCapacity",
"policyType": "SimpleScaling",
"simpleScalingPolicyConfiguration": {
"adjustmentType": "ChangeInCapacity",
"scalingAdjustment": "-1",
"300": "number", // In number of seconds
}
}
answered 9 months ago
Relevant content
- asked 2 years ago
- asked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
Thanks, but how does it work with managed scaling? The coordinator ( it doesn´t allow me to write mast.. ) instance fleet doesn´t scale obviously but should it be considered for the managed scaling properties? And how the instance fleet units relate to the autoscaling units, are the same?