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-13103) Group resolution from LDAP may fail on javax.naming.ServiceUnavailableException
Date Thu, 05 May 2016 20:03:12 GMT

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

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

The patch looks good to me overall.  I just have one question.  The old code had one attempt
outside the {{while}} loop and then up to 3 more attempts inside the {{while}} loop.  With
this patch, all attempts are collapsed into a single {{for}} loop with up to 3 iterations.
 I am wondering if {{RECONNECT_RETRY_COUNT}} should be increased to 4 to preserve the old
behavior of "4 total attempts".  Let me know your thoughts.

> 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message