hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Vary (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-21239) Beeline help LDAP connection example incorrect
Date Mon, 11 Feb 2019 17:05:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-21239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16765161#comment-16765161
] 

Peter Vary commented on HIVE-21239:
-----------------------------------

[~zchovan]: I usually prefer to have the pre-commit tests anyway.

> 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
>            Assignee: Zoltan Chovan
>            Priority: Major
>              Labels: newbie
>         Attachments: HIVE-21239.patch
>
>
> 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)

Mime
View raw message