On this page

Show all

Help Center/ MapReduce Service/ Troubleshooting/ Using Hive/ Specifying a Queue When Submitting a Hive Task

Specifying a Queue When Submitting a Hive Task

Updated on 2024-12-18 GMT+08:00

Symptom

How do I specify a queue when Hive submits a job?

Procedure

  1. 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;

    NOTE:

    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.

  2. After job submission, go to the Yarn page to check the job. The job has been submitted to QueueA.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback