Support Questions

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

Configuring Tez queue for Hive Warehouse Connector

avatar
New Contributor

Hi,

 

I am running a query on Hive through my Spark application using HiveWarehouseConnector.

I want to use a particular YARN queue for Tez job launched by HiveWarehouseConnector (custom queue configuration at application level).

I have tried following two ways:

1. By using Spark conf and setting spark.hive.tez.queue.name = <queue name>

2. By setting tez.queue.name parameter in the hiveserver2 URL as suggested in the following thread https://community.cloudera.com/t5/Support-Questions/Setting-yarn-queue-for-hive-with-beeline/td-p/16...

 

I am able to set the queue for beeline using the URL option.

 

However, any of the options is not working for HiveWarehouseConnector.

 

Can anyone please help in this regard?

 

1 ACCEPTED SOLUTION

avatar
Master Collaborator

@vaibhavgokhale You could try:

--conf spark.sql.hive.conf.list="tez.queue.name=queue1"

 

View solution in original post

3 REPLIES 3

avatar
Community Manager

 @vaibhavgokhale Welcome to the Cloudera Community!

To help you get the best possible solution, I have tagged our Tez experts @MGreen and @Shmoo  who may be able to assist you further.

Please keep us updated on your post, and we hope you find a satisfactory solution to your query.


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Master Collaborator

@vaibhavgokhale You could try:

--conf spark.sql.hive.conf.list="tez.queue.name=queue1"

 

avatar
New Contributor

Thanks @smruti for quick response. This is working.