Help Center/
MapReduce Service/
User Guide (Ankara Region)/
Troubleshooting/
Using Hive/
How to Specify a Queue When Hive Submits a Job
Updated on 2024-11-29 GMT+08:00
How to Specify a Queue When Hive Submits a Job
Symptom
How do I specify a queue when Hive submits a job?
Procedure
- Before submitting the job, set the job queue, for example, submitting the job to QueueA.
set mapred.job.queue.name=QueueA; select count(*) from rc;
The queue name is case sensitive. For example, in this example, queueA and Queuea are invalid. In addition, the queue must be a leaf queue, and jobs cannot be submitted to a non-leaf queue.
- After job submission, go to the Yarn page to check the job. The job has been submitted to QueueA.
Parent topic: Using Hive
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot