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
Expert Contributor
kinit PRINCIPAL -kt /etc/security/keytabs/PRINCIPAL.keytab 
hive --hiveconf hive.execution.engine=mr
SET hive.execution.engine=tez;
SET tez.queue.name=QUEUE_NAME;
use MON_SCHEMA;
select count(*) from TABLE where id =1;

By starting Hive CLI with mr, it open the terminal quickly than default, this is because it will not request for AM resource.

PS : Hive CLI is not recommended and must be deprecated in your production environment, check here for more info

4,485 Views
0 Kudos
Version history
Last update:
‎12-01-2017 10:41 AM
Updated by:
Contributors