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/13 21:34:00 UTC

[jira] [Updated] (SENTRY-1839) Duplicate file in sentry-binding-hive-common package

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

kalyan kumar kalvagadda updated SENTRY-1839:
--------------------------------------------
    Description: 
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.

  was:
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
# HiveAuthzBindingHookBase
# MetastoreAuthzBindingBase
# SentryHiveMetaStoreClient
# SentryMetastorePostEventListenerBase

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.


> Duplicate file in sentry-binding-hive-common package
> ----------------------------------------------------
>
>                 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
>
> 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)