sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Ma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-768) [Improve error handling] Handle cases when getGroups throws an exception
Date Thu, 11 Jun 2015 02:02:00 GMT

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

Colin Ma commented on SENTRY-768:
---------------------------------

hi, [~sravya],  do you think it make sense to throw a SentryUserException and client will
know the problem.

> [Improve error handling] Handle cases when getGroups throws an exception
> ------------------------------------------------------------------------
>
>                 Key: SENTRY-768
>                 URL: https://issues.apache.org/jira/browse/SENTRY-768
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Sravya Tirukkovalur
>             Fix For: 1.6.0
>
>
> We need to handle this case better: Today we just have a warning if the sentry plugin
was not able to resolve group names for a user.
> https://github.com/apache/incubator-sentry/blob/0416dc016b9f594f89cf3cfbe9702592c21bf6da/sentry-provider/sentry-provider-common/src/main/java/org/apache/sentry/provider/common/HadoopGroupMappingService.java#L62



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

Mime
View raw message