[ 
https://issues.apache.org/jira/browse/SENTRY-1234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Hao updated SENTRY-1234:
----------------------------
    Attachment: SENTRY-1234.0.patch

> JDO exception for list_sentry_privileges_by_authorizable
> --------------------------------------------------------
>
>                 Key: SENTRY-1234
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1234
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>            Reporter: Hao Hao
>            Assignee: Hao Hao
>         Attachments: SENTRY-1234.0.patch
>
>
> {noformat}
> [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={})
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to