[
https://issues.apache.org/jira/browse/SENTRY-2359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16588932#comment-16588932
]
Hadoop QA commented on SENTRY-2359:
-----------------------------------
Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12936638/SENTRY-2359.004.patch
against master.
{color:red}Overall:{color} -1 due to an error
{color:red}ERROR:{color} mvn test exited 1
Console output:
https://builds.apache.org/job/PreCommit-SENTRY-Build/4064/console
This message is automatically generated.
> Object owner is unable to grant privileges: SentryAccessDeniedException
> -----------------------------------------------------------------------
>
> Key: SENTRY-2359
> URL: https://issues.apache.org/jira/browse/SENTRY-2359
> Project: Sentry
> Issue Type: Bug
> Components: Sentry
> Affects Versions: 2.1.0
> Reporter: kalyan kumar kalvagadda
> Assignee: kalyan kumar kalvagadda
> Priority: Major
> Fix For: 2.1.0
>
> Attachments: SENTRY-2359.001.patch, SENTRY-2359.002.patch,
> SENTRY-2359.003.patch, SENTRY-2359.004.patch
>
>
> Steps to Reproduce:
> Pre-req:
> Sentry configuration : OO enable with GRANT.
> Test user - WITH CREATE privileges on SERVER:
> # Test user - CREATE DATABASE db1;
> # Admin user - CREATE ROLE new_role;
> # Test user - GRANT ALL ON DATABASE db1 TO ROLE new_role;
>
> Actual Result : SentryAccessDeniedException: is returned.
> Sample Exception :
> ERROR : Error processing Sentry command: usr_wmnxacyvujehjqyzqxud has no
> grant!.Please grant admin privilege to usr_wmnxacyvujehjqyzqxud.
> ERROR : FAILED: Execution Error, return code 1 from
> org.apache.hadoop.hive.ql.exec.SentryGrantRevokeTask.
> SentryAccessDeniedException: usr_wmnxacyvujehjqyzqxud has no grant!
> INFO : Completed executing
> command(queryId=hive_20180817123333_9157c8f7-8226-4c45-bd6f-257bb17e3861);
> Time taken: 0.025 seconds
> 0: jdbc:hive2://mk516-6.gce.cloudera.com:1000> Error: Error while processing
> statement: FAILED: Execution Error, return code 1 from
> org.apache.hadoop.hive.ql.exec.SentryGrantRevokeTask.
> SentryAccessDeniedException: usr_wmnxacyvujehjqyzqxud has no grant!
> (state=08S01,code=1)
> Expected Result : Should be able to grant .
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)