You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/08/11 00:17:00 UTC

[jira] [Work logged] (HIVE-21538) Beeline: password source though the console reader did not pass to connection param

     [ https://issues.apache.org/jira/browse/HIVE-21538?focusedWorklogId=636683&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-636683 ]

ASF GitHub Bot logged work on HIVE-21538:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Aug/21 00:16
            Start Date: 11/Aug/21 00:16
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] commented on pull request #2386:
URL: https://github.com/apache/hive/pull/2386#issuecomment-896397545


   This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 636683)
    Time Spent: 20m  (was: 10m)

> Beeline: password source though the console reader did not pass to connection param
> -----------------------------------------------------------------------------------
>
>                 Key: HIVE-21538
>                 URL: https://issues.apache.org/jira/browse/HIVE-21538
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 3.1.0
>         Environment: Hive-3.1 auth set to LDAP
>            Reporter: Rajkumar Singh
>            Assignee: Rajkumar Singh
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: HIVE-21538.01.patch, HIVE-21538.02.patch, HIVE-21538.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Beeline: password source through the console reader do not pass to connection param, this will yield into the Authentication failure in case of LDAP authentication.
> {code}
> beeline -n USER -u "jdbc:hive2://host:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2" -p
> Connecting to jdbc:hive2://host:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2;user=USER
> Enter password for jdbc:hive2://host:2181/: ************
> 19/03/26 19:49:44 [main]: WARN jdbc.HiveConnection: Failed to connect to host:10000
> 19/03/26 19:49:44 [main]: ERROR jdbc.Utils: Unable to read HiveServer2 configs from ZooKeeper
> Unknown HS2 problem when communicating with Thrift server.
> Error: Could not open client transport for any of the Server URI's in ZooKeeper: Peer indicated failure: PLAIN auth failed: javax.security.sasl.AuthenticationException: Error validating LDAP user [Caused by javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C8, comment: AcceptSecurityContext error, data 52e, v2580]] (state=08S01,code=0)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)