sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sravya Tirukkovalur (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SENTRY-255) Revoke on Server privilege fails
Date Wed, 04 Jun 2014 02:57:01 GMT

     [ https://issues.apache.org/jira/browse/SENTRY-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sravya Tirukkovalur updated SENTRY-255:
---------------------------------------

    Attachment: SENTRY-255.2.patch

Attaching a patch after removing some unneeded comment.

> 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, SENTRY-255.1.patch, SENTRY-255.2.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)

Mime
View raw message