[jira] [Commented] (RANGER-2397) HiveServer2 fails to start with Hive Plugin for Ranger
[ https://issues.apache.org/jira/browse/RANGER-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16851509#comment-16851509 ] Pradeep Agrawal commented on RANGER-2397: - Created RR : [https://reviews.apache.org/r/70761/diff/1#index_header] > 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 >Assignee: Pradeep Agrawal >Priority: Major > Labels: patch, pull-request-available > Fix For: 2.0.0 > > Attachments: RANGER-2397.1.patch > > Time Spent: 40m > Remaining Estimate: 0h > > 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)
[jira] [Commented] (RANGER-2397) HiveServer2 fails to start with Hive Plugin for Ranger
[ https://issues.apache.org/jira/browse/RANGER-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16851275#comment-16851275 ] Velmurugan Periasamy commented on RANGER-2397: -- [~j5hw4n9] - thanks for reporting the issue. Could you please file a review request? Thanks. > 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: 2.0.0 > > Attachments: RANGER-2397.1.patch > > Time Spent: 40m > Remaining Estimate: 0h > > 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)
[jira] [Commented] (RANGER-2397) HiveServer2 fails to start with Hive Plugin for Ranger
[ https://issues.apache.org/jira/browse/RANGER-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16810816#comment-16810816 ] Junseung Hwang commented on RANGER-2397: 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)