Change resource allocation mode

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.

  1. In Cloudera Manager, select Clusters > YARN Queue Manager UI service. A graphical queue hierarchy is displayed in the Overview tab.
  2. Click on the three vertical dots on the root and select View/Edit Queue Properties option.
  3. In the Queue Properties dialog-box, select the resource allocation mode.
  4. Click Save.
  5. 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.
  6. Click Save.