Enable dynamic auto child creation in weight mode

In the weight mode, when you enable dynamic auto child creation for a queue, it becomes a parent queue that can have both static and dynamic child queues. You can enable that feature through the YARN Queue Manager UI.

In the weight mode, there is no Managed Parent Queue. When you enable the dynamic auto child creation feature for a queue, it becomes a parent queue that can have both static and dynamic child queues simultaneously. If this feature is not enabled, the queue can only have static child queues.

In contrast to Manage Parent Queue where the dynamic queue nesting level is limited to one, in weight mode, dynamic auto child creation allows you to create 2-level dynamic queues.

Due to a known issue you can enable dynamic auto child creation only for queues that already have at least one child queue. That means you have to create at least one static child queue under the parent queue for which you want to enable this feature.

Once dynamic auto child creation is enabled for the parent queue, you can stop and delete the static child queue if only dynamic child queues are required for your setup.

  1. In Cloudera Manager, select the YARN Queue Manager UI.
    A graphical queue hierarchy is displayed in the Overview tab.
  2. Find the queue for which you want to enable the dynamic auto child creation feature.
  3. Select the More Options menu and select Enable Dynamic Auto Child Creation.
Dynamic auto child creation is enabled for the queue and a bolt icon is visible next to the queue’s name.

If it is not needed, delete the static child queue that you have created before enabling the dynamic auto child creation feature for the queue.

If you want to define a placement rule that could lead to dynamically created child queues, ensure that during placement rule creation you check the Create the target queue if it does not exist? property and provide a parent queue for which dynamic auto child creation is enabled. For more information, see Manage placement rules.