-
Notifications
You must be signed in to change notification settings - Fork 66
Conversation
|
cb4b744
to
af3a5ef
Compare
This is the type of change that I would like to have chefspec laid out. |
Can you expound on the need to have it available in the environment? Is this a hack so that we won't need to cut releases? |
As far as I understand, yes. This is one of the last remaining items we write tenant recipes for in the wrapper (gross), and we'd like to stop doing that if possible. |
Yes, this is a hack to avoid cutting releases when changing compute queues. I added some documentation in the PR description to elaborate on this. Managing the queues through tenant recipes can remain the preferred approach because these recipes provide a single source of truth across environments. However, environment overrides will give us the flexibility to quickly turnaround compute queue changes while tenant recipe changes pend in the next release. |
Dismissing Allan's review, as the change requested was made in the description.
These changes will allow an attribute to override / define fair scheduler queue properties.
Tested on both the VM and dev hardware cluster.
Purpose:
Deploying a release on existing hardware clusters quickly can sometimes prove challenging.
We'd like to avoid deploying new releases to push out small and urgent compute budget changes.
These changes will allow us to override the budgets codified in tenant recipes with environment attributes.
Usage:
Override the node['bcpc']['hadoop']['yarn']['fair_scheduler_queue'] in the environment json.
The data structure takes the following form:
See the second comment below for an example.
Reference: