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

JDO exception for list_sentry_privileges_by_authorizable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 1.7.0
    • Sentry
    • None

    Description

      [28/Apr/2016 16:51:24 -0700] thrift_util  DEBUG    Thrift call <class 'sentry_generic_policy_service.SentryGenericPolicyService.Client'>.list_sentry_privileges_by_authorizable returned in 38ms: TListSentryPrivilegesByAuthResponse(status=TSentryResponseStatus(message='Unknown error for request: TListSentryPrivilegesByAuthRequest(protocol_version:2, requestorUserName:romain, component:solr, serviceName:server1, authorizablesSet:[COLLECTION=yelp_demo]), message: You have just attempted to access field "roles" yet this field was not detached when you detached the object. Either dont access this field, or detach it when detaching the object.', stack='javax.jdo.JDODetachedFieldAccessException: You have just attempted to access field "roles" yet this field was not detached when you detached the object. Either dont access this field, or detach it when detaching the object.\n\tat org.apache.sentry.provider.db.service.model.MSentryGMPrivilege.jdoGetroles(MSentryGMPrivilege.java)\n\tat org.apache.sentry.provider.db.service.model.MSentryGMPrivilege.getRoles(MSentryGMPrivilege.java:136)\n\tat org.apache.sentry.provider.db.generic.service.thrift.SentryGenericPolicyProcessor.toTSentryPrivil...
      [28/Apr/2016 16:51:24 -0700] thrift_util  DEBUG    Thrift call: <class 'sentry_generic_policy_service.SentryGenericPolicyService.Client'>.list_sentry_privileges_by_authorizable(args=(TListSentryPrivilegesByAuthRequest(requestorUserName=u'romain', component=u'solr', authorizablesSet=set([u'COLLECTION=yelp_demo']), serviceName=u'server1', groups=None, roleSet=None, protocol_version=2),), kwargs={})
      

      Attachments

        1. SENTRY-1234.0.patch
          14 kB
          Hao Hao
        2. SENTRY-1234.1.patch
          14 kB
          Anne Yu

        Issue Links

          Activity

            People

              hahao Hao Hao
              hahao Hao Hao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: