Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

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,
Senior 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.