[
https://issues.apache.org/jira/browse/SENTRY-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Na Li resolved SENTRY-2051.
---------------------------
Resolution: Duplicate
> Catch SentryGroupNotFoundException in thrift server handler
> -----------------------------------------------------------
>
> Key: SENTRY-2051
> URL: https://issues.apache.org/jira/browse/SENTRY-2051
> Project: Sentry
> Issue Type: Bug
> Components: Sentry
> Affects Versions: 2.0.0
> Reporter: Na Li
> Assignee: Na Li
> Priority: Major
>
> SENTRY-769 changes the behavior when there is no group associated with a
> user. Before, the GroupMappingService implementation returns empty set. Now,
> SentryGroupNotFoundException is thrown to stop further processing.
> This causes problem for client that does not expect exception in this
> scenario.
> The solution is to catch such exception at sentry server before returning
> response to client. So it does not change API behavior while still keeping
> the benefit of SENTRY-769 with better error handling.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)