You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2014/06/04 03:22:01 UTC

[jira] [Commented] (SENTRY-255) Revoke on Server privilege fails

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

Jarek Jarcec Cecho commented on SENTRY-255:
-------------------------------------------

+1 to the fix.

Based on your note, I'll wait with the commit [~sravya].

> Revoke on Server privilege fails
> --------------------------------
>
>                 Key: SENTRY-255
>                 URL: https://issues.apache.org/jira/browse/SENTRY-255
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Sravya Tirukkovalur
>            Assignee: Sravya Tirukkovalur
>             Fix For: 1.4.0
>
>         Attachments: SENTRY-255.0.patch
>
>
> {noformat}
> $ revoke ALL on server server1 from role sysadmin;
> Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.SentryGrantRevokeTask. Invalid input privilege object. Server Stacktrace: org.apache.sentry.provider.db.SentryInvalidInputException: DB name not set for DB scope
> 	at org.apache.sentry.provider.db.service.persistent.SentryStore.constructPrivilegeName(SentryStore.java:420)
> 	at org.apache.sentry.provider.db.service.persistent.SentryStore.alterSentryRoleRevokePrivilege(SentryStore.java:315)
> 	at org.apache.sentry.provider.db.service.thrift.SentryPolicyStoreProcessor.alter_sentry_role_revoke_privilege(SentryPolicyStoreProcessor.java:203)
> 	at org.apache.sentry.provider.db.service.thrift.SentryPolicyService$Processor$alter_sentry_role_revoke_privilege.getResult(SentryPolicyService.java:713)
> 	at org.apache.sentry.provider.db.service.thrift.SentryPolicyService$Processor$alter_sentry_role_revoke_privilege.getResult(SentryPolicyService.java:698)
> 	at sentry.org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
> 	at sentry.org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
> 	at sentry.org.apache.thrift.TMultiplexedProcessor.process(TMultiplexedProcessor.java:123)
> 	at sentry.org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:244)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:745) (state=08S01,code=1)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)