You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "peng.jianhua (JIRA)" <ji...@apache.org> on 2017/09/13 07:51:00 UTC

[jira] [Resolved] (RANGER-1655) Execute showPrivileges failure in hive client after installed ranger hive plugin.

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

peng.jianhua resolved RANGER-1655.
----------------------------------
    Resolution: Invalid

> Execute showPrivileges failure in hive client after installed ranger hive plugin.
> ---------------------------------------------------------------------------------
>
>                 Key: RANGER-1655
>                 URL: https://issues.apache.org/jira/browse/RANGER-1655
>             Project: Ranger
>          Issue Type: Bug
>          Components: plugins
>            Reporter: peng.jianhua
>            Assignee: peng.jianhua
>              Labels: patch
>
> ERROR org.apache.hive.service.cli.operation.Operation: Error running hive query:
> org.apache.hive.service.cli.HiveSQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. showPrivileges() not implemented in Ranger HiveAuthorizer
> at org.apache.hive.service.cli.operation.Operation.toSQLException(Operation.java:387)
> at org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:240)
> at org.apache.hive.service.cli.operation.SQLOperation.access$400(SQLOperation.java:92)
> at org.apache.hive.service.cli.operation.SQLOperation$2$1.run(SQLOperation.java:313)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:415)
> at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
> at org.apache.hive.service.cli.operation.SQLOperation$2.run(SQLOperation.java:328)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 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)
> Caused by: org.apache.hadoop.hive.ql.security.authorization.plugin.HiveAuthzPluginException: showPrivileges() not implemented in Ranger HiveAuthorizer
> at org.apache.ranger.authorization.hive.authorizer.RangerHiveAuthorizerBase.throwNotImplementedException(RangerHiveAuthorizerBase.java:225)
> at org.apache.ranger.authorization.hive.authorizer.RangerHiveAuthorizerBase.showPrivileges(RangerHiveAuthorizerBase.java:129)
> at org.apache.hadoop.hive.ql.exec.DDLTask.showGrants(DDLTask.java:737)
> at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:517)
> at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:197)
> at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100)
> at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1917)
> at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1586)
> at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1331)
> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1092)
> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1085)
> at org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:238)
> ... 11 more



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)