You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by rm...@apache.org on 2021/04/28 14:19:07 UTC

[ranger] branch ranger-2.2 updated: RANGER-3235:Remove hive-exec dependency from Ranger audit frame work

This is an automated email from the ASF dual-hosted git repository.

rmani pushed a commit to branch ranger-2.2
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/ranger-2.2 by this push:
     new a871937  RANGER-3235:Remove hive-exec dependency from Ranger audit frame work
a871937 is described below

commit a871937e6fd6eb26c343a9fda590190b89fea277
Author: Ramesh Mani <rm...@cloudera.com>
AuthorDate: Thu Apr 8 00:01:10 2021 -0700

    RANGER-3235:Remove hive-exec dependency from Ranger audit frame work
    
    Signed-off-by: Ramesh Mani <rm...@cloudera.com>
---
 agents-audit/pom.xml | 15 +++++++++++++--
 pom.xml              |  2 ++
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/agents-audit/pom.xml b/agents-audit/pom.xml
index d67b925..485c77f 100644
--- a/agents-audit/pom.xml
+++ b/agents-audit/pom.xml
@@ -266,8 +266,19 @@
         </dependency>
         <dependency>
             <groupId>org.apache.hive</groupId>
-            <artifactId>hive-exec</artifactId>
-            <version>${hive.version}</version>
+            <artifactId>hive-storage-api</artifactId>
+            <version>${hive.storage-api.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>*</groupId>
+                    <artifactId>*</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.orc</groupId>
+            <artifactId>orc-core</artifactId>
+            <version>${orc.version}</version>
             <exclusions>
                 <exclusion>
                     <groupId>*</groupId>
diff --git a/pom.xml b/pom.xml
index 6397be4..b57aceb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -123,6 +123,8 @@
         <hamcrest.all.version>1.3</hamcrest.all.version>
         <hbase.version>2.2.6</hbase.version>
         <hive.version>3.1.2</hive.version>
+        <hive.storage-api.version>2.7.2</hive.storage-api.version>
+        <orc.version>1.5.8</orc.version>
         <hbase-shaded-protobuf>3.3.0</hbase-shaded-protobuf>
         <hbase-shaded-netty>3.3.0</hbase-shaded-netty>
         <hbase-shaded-miscellaneous>3.3.0</hbase-shaded-miscellaneous>