[
https://issues.apache.org/jira/browse/RANGER-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16810816#comment-16810816
]
Junseung Hwang edited comment on RANGER-2397 at 4/5/19 1:20 PM:
----------------------------------------------------------------
Hive already has an abstract class to prevent this kind of error, so the patch
just makes RangerHiveAuthorizerBase to extend AbstractHiveAuthorizer instead of
implementing HiveAuthorizer directly.
was (Author: j5hw4n9):
Hive already has abstract class AbstractHiveAuthorizer to prevent this kind of
error, so the patch just makes RangerHiveAuthorizerBase to extend
AbstractHiveAuthorizer instead of implementing HiveAuthorizer directly.
> HiveServer2 fails to start with Hive Plugin for Ranger
> ------------------------------------------------------
>
> Key: RANGER-2397
> URL: https://issues.apache.org/jira/browse/RANGER-2397
> Project: Ranger
> Issue Type: Bug
> Components: plugins
> Reporter: Junseung Hwang
> Priority: Major
> Labels: patch, pull-request-available
> Fix For: 1.2.0
>
> Attachments: RANGER-2397.1.patch
>
>
> HIVE-18777 added Authorization interface to support information_schema
> integration with external authorization, but it causes the bug with Hive
> Plugin for Ranger. Specifically, it causes the following error while starting
> HiveServer2 with the Hive Plugin, and blocks HiveServer2 to start.
> {code:java}
> java.lang.AbstractMethodError:
> org.apache.ranger.authorization.hive.authorizer.RangerHiveAuthorizer.getHivePolicyProvider()Lorg/apache/hadoop/hive/ql/security/authorization/plugin/HivePolicyProvider{code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)