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:39:33 UTC

[nifi-registry] branch main updated: NIFIREG-421 - adding GCS support to Ranger plugin

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 f3a2717  NIFIREG-421 - adding GCS support to Ranger plugin
f3a2717 is described below

commit f3a271706971f2de71f4ce0e9f6f1ea182194425
Author: Pierre Villard <pi...@gmail.com>
AuthorDate: Thu Oct 1 16:36:52 2020 +0200

    NIFIREG-421 - adding GCS support to Ranger plugin
    
    This closes #305.
---
 .../nifi-registry-ranger-plugin/pom.xml            | 32 +++++++++++++++++++++-
 1 file changed, 31 insertions(+), 1 deletion(-)

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 461f6c3..9026b4b 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
@@ -28,6 +28,7 @@
         <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>
+        <ranger.gcs.version>2.1.5</ranger.gcs.version>
     </properties>
 
     <dependencies>
@@ -296,6 +297,35 @@
                 </dependency>
             </dependencies>
         </profile>
+	<!-- Includes hadoop-gcp for accessing HDFS with an gcs:// filesystem -->
+        <profile>
+            <id>include-hadoop-gcp</id>
+            <activation>
+                <activeByDefault>false</activeByDefault>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>com.google.cloud.bigdataoss</groupId>
+                    <artifactId>gcs-connector</artifactId>
+                    <version>hadoop3-${ranger.gcs.version}</version>
+                </dependency>
+                <dependency>
+                    <groupId>com.google.cloud.bigdataoss</groupId>
+                    <artifactId>util</artifactId>
+                    <version>${ranger.gcs.version}</version>
+                </dependency>
+                <dependency>
+                    <groupId>com.google.cloud.bigdataoss</groupId>
+                    <artifactId>util-hadoop</artifactId>
+                    <version>hadoop3-${ranger.gcs.version}</version>
+                </dependency>
+                <dependency>
+                    <groupId>com.google.cloud.bigdataoss</groupId>
+                    <artifactId>gcsio</artifactId>
+                    <version>${ranger.gcs.version}</version>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
-</project>
\ No newline at end of file
+</project>