You can change the resource allocation mode from the root queue
by editing the queue properties from the Yarn Queue Manager UI. The
Relative resource allocation mode is the default allocation mode. You
can specify the actual units of vCores and memory resources by using the Absolute allocation
mode or specify a percentage of total resources using the Relative allocation mode.
In Cloudera Manager, select Clusters > YARN Queue Manager UI
service. A graphical queue hierarchy is displayed in the Overview tab.
Click on the three vertical dots on the root and select View/Edit Queue
Properties option.
In the Queue Properties dialog-box, select the resource
allocation mode.
Click Save.
Enter yes in the Switch Allocation
Mode dialog box and click OK. Queue Manager calculates and
updates the resource allocations for all the existing queues. If required, you can further
modify the resource allocation.