NIFI-10558 This closes #6456. Updated Ranger modules to skip tests on AArch64

Signed-off-by: Joe Witt <joewitt@apache.org>
This commit is contained in:
exceptionfactory 2022-05-13 16:19:59 -05:00 committed by Joe Witt
parent 1a99b9611c
commit 013d01a9fc
No known key found for this signature in database
GPG Key ID: 9093BF854F811A1A
4 changed files with 26 additions and 67 deletions

View File

@ -212,6 +212,18 @@
</dependencies> </dependencies>
<profiles> <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 --> <!-- Includes hadoop-aws for accessing HDFS with an s3a:// filesystem -->
<profile> <profile>
<id>include-hadoop-aws</id> <id>include-hadoop-aws</id>

View File

@ -90,6 +90,7 @@
<module>nifi-cybersecurity-bundle</module> <module>nifi-cybersecurity-bundle</module>
<module>nifi-parquet-bundle</module> <module>nifi-parquet-bundle</module>
<module>nifi-extension-utils</module> <module>nifi-extension-utils</module>
<module>nifi-ranger-bundle</module>
<module>nifi-redis-bundle</module> <module>nifi-redis-bundle</module>
<module>nifi-metrics-reporting-bundle</module> <module>nifi-metrics-reporting-bundle</module>
<module>nifi-spark-bundle</module> <module>nifi-spark-bundle</module>
@ -174,39 +175,6 @@
<module>nifi-grpc-bundle</module> <module>nifi-grpc-bundle</module>
</modules> </modules>
</profile> </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> </profiles>
<dependencyManagement> <dependencyManagement>

View File

@ -291,6 +291,18 @@
</dependencies> </dependencies>
<profiles> <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 --> <!-- Includes hadoop-aws for accessing HDFS with an s3a:// filesystem -->
<profile> <profile>
<id>include-hadoop-aws</id> <id>include-hadoop-aws</id>

View File

@ -26,39 +26,6 @@
<modules> <modules>
<module>nifi-registry-aws</module> <module>nifi-registry-aws</module>
<module>nifi-registry-ranger</module>
</modules> </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> </project>