Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Hive CLI against specific queue

avatar
Rising Star

Any idea how to execute hive cli or hbase shell against a specific queue ?
In one of our clusters the default queue is stopped and there are two other queues.
But by default hive cli it is going against the default queue and failing.
So how to use other queues - say q1, q2 - with hive cli or hbase shell.
Appreciate the feedback.
1 ACCEPTED SOLUTION

avatar

On Hive CLI depending on the execution engine, for "mr" you can use "set mapred.job.queue.name=<queuename>;" or for "tez" you can use "set tez.queue.name=<queuename>;".

View solution in original post

2 REPLIES 2

avatar

On Hive CLI depending on the execution engine, for "mr" you can use "set mapred.job.queue.name=<queuename>;" or for "tez" you can use "set tez.queue.name=<queuename>;".

avatar
Rising Star

Worked. Thanks.