You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by bb...@apache.org on 2020/10/09 13:06:40 UTC

[nifi-registry] branch main updated: NIFIREG-420 - adding Ozone support to Ranger plugin (#304)

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

bbende pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-registry.git


The following commit(s) were added to refs/heads/main by this push:
     new ae5f946  NIFIREG-420 - adding Ozone support to Ranger plugin (#304)
ae5f946 is described below

commit ae5f946798672fa21822b893e16e19fba0209516
Author: Pierre Villard <pi...@gmail.com>
AuthorDate: Fri Oct 9 15:06:34 2020 +0200

    NIFIREG-420 - adding Ozone support to Ranger plugin (#304)
---
 .../nifi-registry-ranger-plugin/pom.xml              | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/nifi-registry-extensions/nifi-registry-ranger/nifi-registry-ranger-plugin/pom.xml b/nifi-registry-extensions/nifi-registry-ranger/nifi-registry-ranger-plugin/pom.xml
index 7c20426..461f6c3 100644
--- a/nifi-registry-extensions/nifi-registry-ranger/nifi-registry-ranger-plugin/pom.xml
+++ b/nifi-registry-extensions/nifi-registry-ranger/nifi-registry-ranger-plugin/pom.xml
@@ -27,6 +27,7 @@
     <properties>
         <ranger.version>2.1.0</ranger.version>
         <ranger.hadoop.version>3.1.1</ranger.hadoop.version>
+        <ranger.ozone.version>1.0.0</ranger.ozone.version>
     </properties>
 
     <dependencies>
@@ -276,6 +277,25 @@
                 </dependency>
             </dependencies>
         </profile>
+        <!-- Includes hadoop-ozone for o3fs:// file system -->
+        <profile>
+            <id>include-hadoop-ozone</id>
+            <activation>
+                <activeByDefault>false</activeByDefault>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>org.apache.hadoop</groupId>
+                    <artifactId>hadoop-ozone-client</artifactId>
+                    <version>${ranger.ozone.version}</version>
+                </dependency>
+                <dependency>
+                    <groupId>org.apache.hadoop</groupId>
+                    <artifactId>hadoop-ozone-filesystem</artifactId>
+                    <version>${ranger.ozone.version}</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
 </project>
\ No newline at end of file