[
https://issues.apache.org/jira/browse/HADOOP-15951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukas Majercak updated HADOOP-15951:
------------------------------------
Description:
Currently, LdapGroupsMapping.doGetGroups catches a very generic NamingException
and retries no matter what the actual root cause is. In a lot of cases, for
example when the actual exception is NameNotFoundException, retrying will be
pointless.
The proposal is to distinguish between retryable (e.g. CommunicationException)
and non-retryable LDAP exceptions (such as InvalidAttributesException).
> LdapGroupsMapping should distinguish between retryable/nonretryable LDAP
> exceptions
> -----------------------------------------------------------------------------------
>
> Key: HADOOP-15951
> URL: https://issues.apache.org/jira/browse/HADOOP-15951
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Lukas Majercak
> Priority: Major
>
> Currently, LdapGroupsMapping.doGetGroups catches a very generic
> NamingException and retries no matter what the actual root cause is. In a lot
> of cases, for example when the actual exception is NameNotFoundException,
> retrying will be pointless.
> The proposal is to distinguish between retryable (e.g.
> CommunicationException) and non-retryable LDAP exceptions (such as
> InvalidAttributesException).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]