[
https://issues.apache.org/jira/browse/SENTRY-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15302899#comment-15302899
]
Hadoop QA commented on SENTRY-1291:
-----------------------------------
Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12806468/SENTRY-1291.2.patch
against master.
{color:red}Overall:{color} -1 due to 2 errors
{color:red}ERROR:{color} mvn test exited 1
{color:red}ERROR:{color} Failed:
org.apache.sentry.provider.db.generic.service.persistent.TestPrivilegeOperatePersistence
Console output:
https://builds.apache.org/job/PreCommit-SENTRY-Build/1642/console
This message is automatically generated.
> SimpleCacheProviderBackend.getPrivileges should return the permission based
> on authorizationhierarchy
> -----------------------------------------------------------------------------------------------------
>
> Key: SENTRY-1291
> URL: https://issues.apache.org/jira/browse/SENTRY-1291
> Project: Sentry
> Issue Type: Sub-task
> Reporter: Hao Hao
> Assignee: Hao Hao
> Attachments: SENTRY-1291.0.patch, SENTRY-1291.1.patch,
> SENTRY-1291.2.patch
>
>
> SimpleCacheProviderBackend.getPrivileges now return all the cached permission
> for a set of groups, results in ResourceAuthorizationProvider.doHasAccess
> very inefficiency. To improve, SimpleCacheProviderBackend.getPrivileges
> should return the permission based on authorizationhierarchy.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)