hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13105) Support timeouts in LDAP queries in LdapGroupsMapping.
Date Fri, 20 May 2016 18:24:13 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15293915#comment-15293915

Chris Nauroth commented on HADOOP-13105:

[~liuml07], do you think hadoop-minikdc is helpful at all for testing a read timeout?  Maybe
there is a way to subclass something in there to stick a wait time inside the query handling?

If the test gets too cumbersome or brittle, then I'd be comfortable proceeding with a patch
that tests only connection timeout.  The JNDI documentation clearly spells out how to set
both connection and read timeout.  Maybe it's more pragmatic to verify read timeout through
code review and cross-check against that documentation.

> Support timeouts in LDAP queries in LdapGroupsMapping.
> ------------------------------------------------------
>                 Key: HADOOP-13105
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13105
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Chris Nauroth
>            Assignee: Mingliang Liu
>         Attachments: HADOOP-13105.000.patch
> {{LdapGroupsMapping}} currently does not set timeouts on the LDAP queries.  This can
create a risk of a very long/infinite wait on a connection.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message