Skip to content

Commit

Permalink
NIFI-10558 This closes apache#6456. Updated Ranger modules to skip te…
Browse files Browse the repository at this point in the history
…sts on AArch64

Signed-off-by: Joe Witt <[email protected]>
  • Loading branch information
exceptionfactory authored and joewitt committed Sep 28, 2022
1 parent 1a99b96 commit 013d01a
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 67 deletions.
12 changes: 12 additions & 0 deletions nifi-nar-bundles/nifi-ranger-bundle/nifi-ranger-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,18 @@
</dependencies>

<profiles>
<!-- Disable tests on AArch64 which does not have necessary platform-specific libraries -->
<profile>
<id>disable-ranger-tests</id>
<activation>
<os>
<arch>aarch64</arch>
</os>
</activation>
<properties>
<skipTests>true</skipTests>
</properties>
</profile>
<!-- Includes hadoop-aws for accessing HDFS with an s3a:// filesystem -->
<profile>
<id>include-hadoop-aws</id>
Expand Down
34 changes: 1 addition & 33 deletions nifi-nar-bundles/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
<module>nifi-cybersecurity-bundle</module>
<module>nifi-parquet-bundle</module>
<module>nifi-extension-utils</module>
<module>nifi-ranger-bundle</module>
<module>nifi-redis-bundle</module>
<module>nifi-metrics-reporting-bundle</module>
<module>nifi-spark-bundle</module>
Expand Down Expand Up @@ -174,39 +175,6 @@
<module>nifi-grpc-bundle</module>
</modules>
</profile>
<profile>
<id>include-ranger</id>
<!-- This profile handles the inclusion of ranger artifacts. Currently, ranger
uses JNA libraries that require x86 components, so it is platform dependent. -->
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>nifi-ranger-bundle</module>
</modules>
</profile>
<profile>
<id>include-ranger-x86</id>
<activation>
<os>
<arch>x86_64</arch>
</os>
</activation>
<modules>
<module>nifi-ranger-bundle</module>
</modules>
</profile>
<profile>
<id>include-ranger-amd64</id>
<activation>
<os>
<arch>amd64</arch>
</os>
</activation>
<modules>
<module>nifi-ranger-bundle</module>
</modules>
</profile>
</profiles>

<dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,18 @@
</dependencies>

<profiles>
<!-- Disable tests on AArch64 which does not have necessary platform-specific libraries -->
<profile>
<id>disable-ranger-tests</id>
<activation>
<os>
<arch>aarch64</arch>
</os>
</activation>
<properties>
<skipTests>true</skipTests>
</properties>
</profile>
<!-- Includes hadoop-aws for accessing HDFS with an s3a:// filesystem -->
<profile>
<id>include-hadoop-aws</id>
Expand Down
35 changes: 1 addition & 34 deletions nifi-registry/nifi-registry-extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,39 +26,6 @@

<modules>
<module>nifi-registry-aws</module>
<module>nifi-registry-ranger</module>
</modules>

<profiles>
<profile>
<id>include-ranger</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>nifi-registry-ranger</module>
</modules>
</profile>
<profile>
<id>include-ranger-x86</id>
<activation>
<os>
<arch>x86_64</arch>
</os>
</activation>
<modules>
<module>nifi-registry-ranger</module>
</modules>
</profile>
<profile>
<id>include-ranger-amd64</id>
<activation>
<os>
<arch>amd64</arch>
</os>
</activation>
<modules>
<module>nifi-registry-ranger</module>
</modules>
</profile>
</profiles>
</project>

0 comments on commit 013d01a

Please sign in to comment.