Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-200

Remove sentry-provider dependencies on hive

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
      None

      Description

      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:

      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);
      

        Attachments

        1. SENTRY-200.3.patch
          8 kB
          Prasad Suresh Mujumdar
        2. SENTRY-200.2.patch
          8 kB
          Prasad Suresh Mujumdar

          Issue Links

            Activity

              People

              • Assignee:
                prasadm Prasad Suresh Mujumdar
                Reporter:
                lskuff Lenni Kuff
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: