Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # user - Hiveserver2 Beeline command clarification


Copy link to this message
-
Hiveserver2 Beeline command clarification
Sanjay Subramanian 2013-08-14, 02:32
Hi guys

I just hooked up hivservrer2 to ldap. In beeline I realized you can login like the following (don't need to define "org.apache.hive.jdbc.HiveDriver")

beeline> !connect jdbc:hive2://dev-thdp5:10000 [EMAIL PROTECTED]
scan complete in 2ms
Connecting to jdbc:hive2://dev-thdp5:10000
Enter password for jdbc:hive2://dev-thdp5:10000: ********
Connected to: Hive (version 0.10.0)
Driver: Hive (version 0.10.0-cdh4.3.0)
Transaction isolation: TRANSACTION_REPEATABLE_READ
0: jdbc:hive2://dev-thdp5:10000> show tables;
+--------------------------+
|         tab_name         |
+--------------------------+
| keyword_impressions_log  |
+--------------------------+
1 row selected (1.574 seconds)
0: jdbc:hive2://dev-thdp5:10000>

If this is also a correct way to use beeline, then I actually prefer this since the password is not visible

sanjay
CONFIDENTIALITY NOTICE
=====================This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.