[
https://issues.apache.org/jira/browse/SENTRY-2244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16500661#comment-16500661
]
Hadoop QA commented on SENTRY-2244:
-----------------------------------
Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12926398/SENTRY-2244.002.patch
against master.
{color:green}Overall:{color} +1 all checks pass
{color:green}SUCCESS:{color} all tests passed
Console output:
https://builds.apache.org/job/PreCommit-SENTRY-Build/3844/console
This message is automatically generated.
> Alter sentry role or user at granting privilege can avoid extra query to
> database
> ---------------------------------------------------------------------------------
>
> Key: SENTRY-2244
> URL: https://issues.apache.org/jira/browse/SENTRY-2244
> Project: Sentry
> Issue Type: Sub-task
> Components: Sentry
> Affects Versions: 2.1.0
> Reporter: Na Li
> Assignee: Na Li
> Priority: Major
> Attachments: SENTRY-2244.001.patch, SENTRY-2244.002.patch,
> SENTRY-2244.002.patch
>
>
> In alterSentryRoleGrantPrivilegeCore and alterSentryUserGrantPrivilegeCore ,
> all of the privileges of a role or a user are already fetched from DB. In
> following processing, there is no need to query DB to get privilege INSERT,
> SELECT, ALL of this role again.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)