Beeline connection string syntax reference
This reference provides syntax examples for Beeline connection strings, covering various authentication methods such as Kerberos, LDAP, SSL, Knox, and non-secured connections. Use these examples to configure Beeline for secure and non-secure Hive access.
| Connection Type | Beeline Command | Comments |
|---|---|---|
| Kerberos |
|
N/A |
| LDAP |
|
To configure Beeline for LDAP authentication using a username alone, you need to add thehive.server2.authentication.ldap.userDNPattern property to hive-site.xml and remove the hive.server2.authentication.ldap.binddn and hive.server2.authentication.ldap.bindpw configurations. |
| SSL |
|
N/A |
| Knox |
|
N/A |
| Non-Secured |
|
N/A |
| SSL + Kerberos |
|
N/A |
| SSL + Kerberos + HTTP Mode |
|
N/A |
