You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "kalyan kumar kalvagadda (JIRA)" <ji...@apache.org> on 2017/07/17 03:10:00 UTC

[jira] [Commented] (SENTRY-1839) Copy files from sentry-binding-hive-common package to sentry-binding-hive and sentry-binding-hive-v2 packages

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

kalyan kumar kalvagadda commented on SENTRY-1839:
-------------------------------------------------

As we want this branch to work with Hive1.1.0 and Hive 2.1.1, only option is have separate sending binding packages supporting them.

We can not have single package supporting both of them as there a lot of changes in Hive between these versions.

> Copy files from sentry-binding-hive-common package to sentry-binding-hive and sentry-binding-hive-v2 packages
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-1839
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1839
>             Project: Sentry
>          Issue Type: Sub-task
>          Components: Sentry
>    Affects Versions: sentry-ha-redesign
>            Reporter: kalyan kumar kalvagadda
>            Assignee: kalyan kumar kalvagadda
>         Attachments: SENTRY-1839.001-sentry-ha-redesign.patch, SENTRY-1839.002-sentry-ha-redesign.patch, SENTRY-1839.003-sentry-ha-redesign.patch
>
>
> Originally sentry-binding-hive-common was created by extracting common classes binding-hive-v1 and binding-hive-v2(hive 2.0.0). With the changes done to hive interface in 2.1.1 that is not the case. Below listed files need different implementation.
> # AuthorizingObjectStoreBase.java
> # HiveAuthzBindingHookBase.java
> # MetastoreAuthzBindingBase.java
> # SentryHiveMetaStoreClient.java
> # SentryMetastorePostEventListenerBase.java
> Idea to copy a copy of these file to sentry-binding-hive and sentry-binding-hive-v2
> packages so that they can have a separate implementation.



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