sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lenni Kuff (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SENTRY-200) Remove sentry-provider dependencies on hive
Date Wed, 14 May 2014 22:12:01 GMT
Lenni Kuff created SENTRY-200:
---------------------------------

             Summary: 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
            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)

Mime
View raw message