@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