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]

Community Articles

Find and share helpful community-sourced technical articles.
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!
Labels (1)
avatar
Master Collaborator

Jdbc interpreter is will take default queue to run a job. 

 

To run the job in specific queue add the queue name in hive.url property in JDBC interpreter settings  as shown below

 

 

 

hive.url=jdbc:hive2://<zookeeper quorum>/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2?tez.queue.name=<Queue Name> 

 

 


EXAMPLE: 

 

 

hive.url= jdbc:hive2://c186-node2.-labs.com:2181,c186-node3.-labs.com:2181,c186-node4.-labs.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2?tez.queue.name=sai 

 

 

Where sai is my queue name.

 

To check and confirm execute below query in zeppelin using JDBC interpreter and check-in Yarn Resource manager UI

 

 

%jdbc(hive)
show databases;
use <database name>;
show tables;
select count (*) from <table name>;

 

 

885 Views