Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-462

Unable to get exception when sentry service down after initialize HadoopGroupResourceAuthorization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.0
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            JohnsonLin Johnson Lin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: