By default, each workspace contains two resource queues that are used to run jobs: dev_queue and root_queue. You can add queues to isolate resources and facilitate resource management. This topic describes the basic operations on queues.
Prerequisites
A workspace is created. For more information, see Manage workspaces.
Add a queue
You can add a queue to isolate resources and facilitate resource management. If you do not add a new resource queue, you can use dev_queue and root_queue to run jobs.
Go to the Queue tab.
Log on to the E-MapReduce (EMR) console.
In the left-side navigation pane, choose
.On the Spark page, click the name of the workspace that you want to manage.
In the left-side navigation pane of the EMR Serverless Spark page, click Compute.
On the Compute page, click the Queue tab.
On the Queue tab, click Create Queue.
In the Create Queue dialog box, configure the following parameters and click OK.
Parameter
Description
Queue Name
The queue name must be unique.
NoteAfter the queue is created, you cannot change the queue name.
Maximum Concurrency
The maximum number of concurrent compute units (CUs) that can be run for a queue. Configure this parameter based on the configuration of the compute to be deployed on the queue. Each queue requires at least 3 CUs.
Application Environment
Development: The environment where developers write, test, and debug code. It includes an Integrated Development Environment (IDE), a version control system, and various debugging tools, which allow developers to build and debug software.
Production: The production environment that provides stable, efficient, and secure services for actual users.
Modify Maximum Concurrency
On the Queue tab of the Compute page, find the queue that you want to manage and click Edit Queue in the Actions column.
On the Resources tab of the Edit Queue dialog box, you can modify Maximum Concurrency.
Click OK.
Edit permissions on a queue
On the Queue tab of the Compute page, find the queue that you want to manage and click Edit Queue in the Actions column.
In the Edit Queue dialog box, click the Permissions tab.
You can add, modify, or remove permissions of users.
Click OK.
Delete a queue
You cannot delete root_queue.
Before you delete a queue, make sure that no jobs in the workspace are associated with the queue. Otherwise, all associated jobs will be affected after the queue is deleted.
On the Queue tab of the Compute page, find the queue that you want to delete and click Delete in the Actions column.
In the Delete Queue dialog box, click Delete Queue.
The default queue root_queue cannot be deleted.
References
For information about how to create and run workflows, see Manage workflows.
For more information about access control, see Manage users and roles.
For more information about SQL computes, see Manage SQL computes.