[ 
https://issues.apache.org/jira/browse/SENTRY-576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14242227#comment-14242227
 ] 

Hadoop QA commented on SENTRY-576:
----------------------------------

Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12686460/SENTRY-576.001.patch 
against master.

{color:red}Overall:{color} -1 due to an error

{color:red}ERROR:{color} failed to build with patch (exit code 1)

Console output: https://builds.apache.org/job/PreCommit-SENTRY-Build/177/console

This message is automatically generated.

> Remove useless logic of grant privilege
> ---------------------------------------
>
>                 Key: SENTRY-576
>                 URL: https://issues.apache.org/jira/browse/SENTRY-576
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Xiaomeng Huang
>            Assignee: Xiaomeng Huang
>         Attachments: SENTRY-576.001.patch
>
>
> Every time when we grant privilege, we will do 
> {code}
> MSentryPrivilege mPrivilege = alterSentryRoleGrantPrivilegeCore(pm, roleName, 
> privilege);
> if (mPrivilege != null) {
>   convertToTSentryPrivilege(mPrivilege, privilege);
> }
> {code}
> After grant privilege, "convertToTSentryPrivilege" is useless except waste of 
> time.
> In fact, the return of "alterSentryRoleGrantPrivilegeCore" is useless, so I 
> change it's return to void. 



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

Reply via email to