Skip to content

Instantly share code, notes, and snippets.

@tmusabbir
Created March 26, 2018 04:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmusabbir/40e5386365a3abcfe87a98897bef94f1 to your computer and use it in GitHub Desktop.
Save tmusabbir/40e5386365a3abcfe87a98897bef94f1 to your computer and use it in GitHub Desktop.
Sample YARN Capacity Scheduler config
{
Classification: "capacity-scheduler",
Properties: {
"yarn.scheduler.capacity.root.queues": "default,dev,qa",
"yarn.scheduler.capacity.root.default.capacity": "20",
"yarn.scheduler.capacity.root.default.maximum-capacity": "50",
"yarn.scheduler.capacity.root.dev.capacity": "40",
"yarn.scheduler.capacity.root.dev.maximum-capacity": "100",
"yarn.scheduler.capacity.root.qa.capacity": "40",
"yarn.scheduler.capacity.root.qa.maximum-capacity": "80"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment