I am going through Hortonworks documentation beeline vs hive cli and got to know that we can connect Hive using beeline using two different mode.
- Embadded mode like
!connect jdbc:hive2://
- Remote Client with HiveServer2 TCP Transport Mode -
!connect jdbc:hive2://<host>:<port>/<db>
From the documentation it is clear that Remote transport mode supports authentication with LDAP and Kerberos. It also supports encryption with SSL.
- Does it mean Embedded mode don't support LDAP and Kerberos authentications.
- Which mode is better for security point of view and which mode should I use to connect hive using beeline through a shell script.
- What are the difference between both mode. Couldn't understand much from the documentation and expecting the details explanations.