Support Questions
Find answers, ask questions, and share your expertise

How beeline works with jdbc and hiveserver2. What is the internal steps while beeline connect with hiveserver2 through jdbc.

 
1 REPLY 1

Super Mentor

@Anjali Shevadkar

Hive CLI talks to Hive Metastore via a thrift call,

However Beeline talks to HiveServer2 which in turn interacts with the Hive Metastore (embedded or remote)

Beeline is the primary recommended way to access Hive. This approach uses SQL standard-based authorization or Ranger-based authorization.
Following link described more about it: https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.5/bk_data-access/content/beeline-vs-hive-cli....
https://community.hortonworks.com/questions/50547/connecting-hive-beeline-vs-hive.html

; ;