Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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.