hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-21239) Beeline help LDAP connection example incorrect
Date Mon, 11 Feb 2019 20:12:00 GMT


Hive QA commented on HIVE-21239:

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 15784 tests executed
*Failed tests:*
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[hybridgrace_hashjoin_2] (batchId=109)

Test results:
Console output:
Test logs:

Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed

This message is automatically generated.

ATTACHMENT ID: 12958265 - PreCommit-HIVE-Build

> Beeline help LDAP connection example incorrect
> ----------------------------------------------
>                 Key: HIVE-21239
>                 URL:
>             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

View raw message