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] [Created] (SENTRY-255) Revoke on Server privilege fails
Date Wed, 04 Jun 2014 01:08:01 GMT
Sravya Tirukkovalur created SENTRY-255:
------------------------------------------

             Summary: 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


{noformat}
0: jdbc:hive2://czhuct6-1.ent.cloudera.com:10> 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)
0: jdbc:hive2://czhuct6-1.ent.cloudera.com:10> revoke ALL privileges from role sysadmin;
Error: Error while compiling statement: FAILED: ParseException line 1:11 extraneous input
'privileges' expecting FROM near '<EOF>' in statement (state=42000,code=40000)
{noformat}




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

Mime
View raw message