[
https://issues.apache.org/jira/browse/HIVE-13295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15201603#comment-15201603
]
Hive QA commented on HIVE-13295:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12793841/HIVE-13295.1.patch
{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 8 failed/errored test(s), 9836 tests executed
*Failed tests:*
{noformat}
TestSparkCliDriver-groupby3_map.q-sample2.q-auto_join14.q-and-12-more - did not
produce a TEST-*.xml file
TestSparkCliDriver-groupby_map_ppr_multi_distinct.q-table_access_keys_stats.q-groupby4_noskew.q-and-12-more
- did not produce a TEST-*.xml file
TestSparkCliDriver-join_rc.q-insert1.q-vectorized_rcfile_columnar.q-and-12-more
- did not produce a TEST-*.xml file
TestSparkCliDriver-ppd_join4.q-join9.q-ppd_join3.q-and-12-more - did not
produce a TEST-*.xml file
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_auto_sortmerge_join_8
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_ivyDownload
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver_tez_join_hash
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_tez_join_hash
{noformat}
Test results:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/7303/testReport
Console output:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/7303/console
Test logs:
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-7303/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
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: 8 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12793841 - PreCommit-HIVE-TRUNK-Build
> Improvement to LDAP search queries in HS2 LDAP Authenticator
> ------------------------------------------------------------
>
> Key: HIVE-13295
> URL: https://issues.apache.org/jira/browse/HIVE-13295
> Project: Hive
> Issue Type: Improvement
> Components: HiveServer2
> Affects Versions: 1.3.0
> Reporter: Naveen Gangam
> Assignee: Naveen Gangam
> Attachments: HIVE-13295.1.patch
>
>
> As more usecases, for various LDAP flavors and deployments, emerge, Hive's
> LDAP authentication provider needs additional configuration properties to
> make it more flexible to work with different LDAP deployments.
> For example:
> 1) Not every LDAP server supports a "memberOf" property on user entries that
> refer to the groups the user belongs to. This attribute is used for group
> filter support. So instead of relying on this attribute to be set, we can
> reverse the search and find all the groups that have an attribute, that
> refers to its members, set. For example "member" or "memberUid" etc.
> Since this atttribute name differs from ldap to ldap, its best we make this
> configurable, with a default value of "member"
> 2) In HIVE-12885, a new property was introduced to make the attribute for an
> user/group search key user-configurable instead of assuming its "uid" (when
> baseDN is set) or "cn" (otherwise). This change was deferred from the initial
> patch.
> 3) LDAP Groups can have various ObjectClass'es. For example objectClass=group
> or objectClass=groupOfNames or objectClass=posixGroup or
> objectClass=groupOfUniqueNames etc. There could be other we dont know of.
> So we need a property to make this user-configurable with a certain default.
> 4) There is also a bug where the lists for groupFilter and userFilter are not
> re-initialized each time init() is called.
> These lists are only re-initialized if the new HiveConf has userFilter or
> groupFilter set values. Otherwise, the provider will use values from previous
> initialization.
> I found this bug when writing some new tests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)