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

Chris Nauroth commented on HADOOP-13103:
----------------------------------------

Hello [~szetszwo].

Something that has been bugging me for a while is that we also don't support 
timeouts on these LDAP connections.  This page has documentation on how to set 
the timeouts through the JNDI APIs.

https://docs.oracle.com/javase/tutorial/jndi/newstuff/readtimeout.html

Would you be interested in doing timeouts as part of this patch, or do you 
prefer if I file a separate JIRA for timeouts?  I'm fine either way, and I can 
help code review whatever you decide to do here.

Thanks!


> Group resolution from LDAP may fail on 
> javax.naming.ServiceUnavailableException
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-13103
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13103
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>            Priority: Minor
>         Attachments: c13103_20160505.patch
>
>
> According to the 
> [javadoc|https://docs.oracle.com/javase/7/docs/api/javax/naming/ServiceUnavailableException.html],
>  ServiceUnavailableException is thrown when attempting to communicate with a 
> directory or naming service and that service is not available. It might be 
> unavailable for different reasons. For example, the server might be too busy 
> to service the request, or the server might not be registered to service any 
> requests, etc.
> We should retry on it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to