You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Prasad Mujumdar (JIRA)" <ji...@apache.org> on 2014/05/15 01:47:56 UTC

[jira] [Assigned] (SENTRY-200) Remove sentry-provider dependencies on hive

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

Prasad Mujumdar reassigned SENTRY-200:
--------------------------------------

    Assignee: Prasad Mujumdar

> Remove sentry-provider dependencies on hive 
> --------------------------------------------
>
>                 Key: SENTRY-200
>                 URL: https://issues.apache.org/jira/browse/SENTRY-200
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Lenni Kuff
>            Assignee: Prasad Mujumdar
>            Priority: Blocker
>             Fix For: 1.3.0
>
>
> sentry-provider now seems to have some dependencies on Hive. Only the binding layer should have these dependencies. It seems some of this may have crept in as part of the SentrySchemaTool work:
> For example:
> {code}
> sentry-provider/sentry-provider-db/pom.xml:      <artifactId>hive-metastore</artifactId>
> sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStoreSchemaInfo.java:import org.apache.hadoop.hive.metastore.HiveMetaException;
> sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStoreSchemaInfo.java:   * Find the directory of metastore scripts
> sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/tools/SentrySchemaTool.java:import org.apache.hadoop.hive.metastore.api.MetaException;
> sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/tools/SentrySchemaTool.java:    Connection metastoreConn = getConnectionToMetastore(true);
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)