Zsolt Herczeg created HIVE-21239:
------------------------------------
Summary: Beeline help LDAP connection example incorrect
Key: HIVE-21239
URL: https://issues.apache.org/jira/browse/HIVE-21239
Project: Hive
Issue Type: Bug
Environment: This was tested on a test environment with SSL and LDAP
authentication enabled, and seems to be reproducible on any environment with
LDAP authentication available in HiveServer2.
Reporter: Zsolt Herczeg
There's the following connection example string in the beeline -h command
output:
{code:java}
5. Connect using LDAP authentication
$ beeline -u jdbc:hive2://hs2.local:10013/default <ldap-username>
<ldap-password>
{code}
When a user attempts to connect like above, it'll fail with LDAP authentication
failure. This is because username and passwords are not picked up in the shown
form. A working example would be:
{code:java}
$ beeline -n <ldap-username> -p <ldap-password> -u
jdbc:hive2://hs2.local:10013/default
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)