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

JDO exception for list_sentry_privileges_by_authorizable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.7.0
    • Component/s: Sentry
    • Labels:
      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.1.patch
          14 kB
          Anne Yu
        2. SENTRY-1234.0.patch
          14 kB
          Hao Hao

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: