Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMR Autoscaling issues #40

Open
diegogarciaedrans opened this issue May 17, 2021 · 0 comments
Open

EMR Autoscaling issues #40

diegogarciaedrans opened this issue May 17, 2021 · 0 comments

Comments

@diegogarciaedrans
Copy link

There's two small issues in the autoscaling policies.

  1. aws_emr_cluster: Scale out policy should be named ScaleInHDFSUtilization instead of ScaleInMemoryPercentage:
{
  "Action": {
	  "SimpleScalingPolicyConfiguration": {
		  "ScalingAdjustment": -1,
		  "CoolDown": 300,
		  "AdjustmentType": "CHANGE_IN_CAPACITY"
	  }
  },
  "Description": "",
  "Trigger": {
	  "CloudWatchAlarmDefinition": {
		  "MetricName": "HDFSUtilization",
		  "ComparisonOperator": "LESS_THAN",
		  "Statistic": "AVERAGE",
		  "Period": 300,
		  "EvaluationPeriods": 1,
		  "Unit": "PERCENT",
		  "Namespace": "AWS/ElasticMapReduce",
		  "Threshold": 50
	  }
  },
  "Name": "ScaleInHDFSUtilization"
}
  1. aws_emr_instance_group: ContainerPendingRatio policies have both (In & Out) GREATER_THAN_OR_EQUAL comparisson operators. ScaleInContainersPending should have LESS_THAN_OR_EQUAL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant