[
https://issues.apache.org/jira/browse/HIVE-8916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14221813#comment-14221813
]
Hive QA commented on HIVE-8916:
-------------------------------
{color:red}Overall{color}: -1 at least one tests failed
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12682756/HIVE-8916.3.patch
{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 6666 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_optimize_nullscan
org.apache.hive.hcatalog.streaming.TestStreaming.testTransactionBatchCommit_Json
{noformat}
Test results:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1860/testReport
Console output:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1860/console
Test logs:
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-1860/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 2 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12682756 - PreCommit-HIVE-TRUNK-Build
> Handle user@domain username under LDAP authentication
> -----------------------------------------------------
>
> Key: HIVE-8916
> URL: https://issues.apache.org/jira/browse/HIVE-8916
> Project: Hive
> Issue Type: Bug
> Components: Authentication
> Reporter: Mohit Sabharwal
> Assignee: Mohit Sabharwal
> Attachments: HIVE-8916.2.patch, HIVE-8916.3.patch, HIVE-8916.patch
>
>
> If LDAP is configured with multiple domains for authentication, users can be
> in different domains.
> Currently, LdapAuthenticationProviderImpl blindly appends the domain
> configured "hive.server2.authentication.ldap.Domain" to the username, which
> limits user to that domain. However, under multi-domain authentication, the
> username may already include the domain (ex: [email protected]). We should
> not append a domain if one is already present.
> Also, if username already includes the domain, rest of Hive and authorization
> providers still expects the "short name" ("user" and not
> "[email protected]") for looking up privilege rules, etc. As such, any
> domain info in the username should be stripped off.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)