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

ASF subversion and git services commented on IMPALA-8545:
---------------------------------------------------------

Commit d72f3330c1edc9086ba120e6d3469a75c0aea083 in impala's branch 
refs/heads/master from Thomas Tauber-Marshall
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=d72f333 ]

IMPALA-8545: Test Ldap authentication

Currently, Impala does not have any automated tests for LDAP auth
functionality, due to the challenge of setting up an LDAP server
for use by the minicluster.

This patch adds LDAP tests by utilizing the ApacheDS project's
unit testing functionality, which works with JUnit to setup up
a local LDAP server for the duration of a test suite.

This requires running an Impala cluster with custom arguments to
set up LDAP auth. This patch introduces a concept of FE custom cluster
tests which must be in the package org.apache.impala.customcluster.
These tests are filtered out from the other FE tests in
bin/run-all-tests.sh and run with the other custom cluster tests so
that they don't affect other tests that expect Impala to have been
started with particular flags.

Testing:
- Ran a full core run and confirmed that new tests run as expected.

Change-Id: I92b5e60860c60209c1bd8afe5b3ea201fb7a7513
Reviewed-on: http://gerrit.cloudera.org:8080/13337
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Tim Armstrong <[email protected]>


> Test ldap authentication
> ------------------------
>
>                 Key: IMPALA-8545
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8545
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Infrastructure
>    Affects Versions: Impala 3.3.0
>            Reporter: Thomas Tauber-Marshall
>            Assignee: Thomas Tauber-Marshall
>            Priority: Major
>
> Impala doesn't currently have any automated tests that exercise the ldap auth 
> functionality. Some ideas to fix this:
> - Setting up a local ldap server for the minicluster to use during tests, eg. 
> ApacheDS
> - Mocking out the openldap calls



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to