Directing user-specific workloads to dedicated YARN queues
Route unassigned user applications to dedicated YARN queues by using placement rules in the YARN Queue Manager UI.
In multi-tenant setups, jobs submitted by specific users or service
accounts often lack an explicitly defined target queue. By default, these unassigned
applications are assigned to root.default, which can lead to
resource contention and SLA degradation.
Configure placement rules in the YARN Queue Manager UI to automatically route applications submitted by designated users or service accounts to specific, pre-configured YARN queues.
- Ensure access to Cloudera Manager with administrative or queue management privileges.
- Target YARN queue(s), such as
root.prod.analyticsorroot.users.<username>must already be created and configured with the required resource allocations.
- Submit a test job such as Spark shell or a Hive query under the target user
account without specifying the
--queueor mapreduce.job.queuename parameter. - In Cloudera Manager, navigate to or open the YARN ResourceManager Web UI.
- Verify that the application was assigned to the configured dedicated queue
rather than
root.default.
