You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Johnson Lin (JIRA)" <ji...@apache.org> on 2014/09/22 11:46:34 UTC
[jira] [Created] (SENTRY-462) Unable to get exception when sentry
service down after initialize HadoopGroupResourceAuthorization
Johnson Lin created SENTRY-462:
----------------------------------
Summary: Unable to get exception when sentry service down after initialize HadoopGroupResourceAuthorization
Key: SENTRY-462
URL: https://issues.apache.org/jira/browse/SENTRY-462
Project: Sentry
Issue Type: Bug
Affects Versions: 1.4.0
Reporter: Johnson Lin
Our project is integrating sentry and we find a problem when we stop sentry service(or make the sentry service crashed) after initialize HadoopGroupResourceAuthorizationProvider. That is to say SimpleDBProviderBackend can't throw exception and only return an ImmutableSet which size is 0 when sentry service down. We found that the method getPrivileges in SimpleDBProviderBackend catch the exception and just print the message like "Unable to obtain privileges from server: ". Is that make sense. The problem is the module which use sentry cannot get clearly reason that sentry service crash or use has not permission to some hive table.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)