You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Jiayi Liu (Jira)" <ji...@apache.org> on 2020/07/03 08:54:00 UTC

[jira] [Commented] (RANGER-2835) Presto plugin DROP TABLE or DELETE is always denied

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

Jiayi Liu commented on RANGER-2835:
-----------------------------------

[~toopt4]: Did you try to drop Hive table? Presto disallow drop hive table by default. Try to set hive.allow-drop-table=true in catalog/hive.properties

> Presto plugin DROP TABLE or DELETE is always denied
> ---------------------------------------------------
>
>                 Key: RANGER-2835
>                 URL: https://issues.apache.org/jira/browse/RANGER-2835
>             Project: Ranger
>          Issue Type: Bug
>          Components: plugins, Ranger
>            Reporter: t oo
>            Priority: Major
>
> DROP VIEW works, INSERT works but DROP TABLE does not work, DELETE does not work
>  
>  
> "com.facebook.presto.spi.security.AccessDeniedException.denyDropTable(AccessDeniedException.java:111)", "com.facebook.presto.spi.security.AccessDeniedException.denyDropTable(AccessDeniedException.java:106)", "com.facebook.presto.hive.security.LegacyAccessControl.checkCanDropTable(LegacyAccessControl.java:99)", "com.facebook.presto.hive.security.PartitionsAwareAccessControl.checkCanDropTable(PartitionsAwareAccessControl.java:88)", "com.facebook.presto.security.AccessControlManager.lambda$checkCanDropTable$19(AccessControlManager.java:283)", "com.facebook.presto.security.AccessControlManager.authorizationCheck(AccessControlManager.java:717)", "com.facebook.presto.security.AccessControlManager.checkCanDropTable(AccessControlManager.java:283)", "com.facebook.presto.execution.DropTableTask.execute(DropTableTask.java:57)", "com.facebook.presto.execution.DropTableTask.execute(DropTableTask.java:34)", "com.facebook.presto.execution.DataDefinitionExecution.start(DataDefinitionExecution.java:169)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)"
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)