[jira] [Updated] (NIFI-9813) NiFi Ranger Plugin will not run on ARM

2022-07-19 Thread David Handermann (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-9813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-9813:
---
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> NiFi Ranger Plugin will not run on ARM
> --
>
> Key: NIFI-9813
> URL: https://issues.apache.org/jira/browse/NIFI-9813
> Project: Apache NiFi
>  Issue Type: Sub-task
>Reporter: Kevin Doran
>Assignee: Kevin Doran
>Priority: Minor
> Fix For: 1.17.0
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> See the following test failures for nifi-ranger-plugin on ARM
> {noformat}
> [INFO] -< org.apache.nifi:nifi-ranger-plugin 
> >-
> [INFO] Building nifi-ranger-plugin 1.16.0-SNAPSHOT
> [402/642]
> [INFO] [ jar 
> ]-
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ 
> nifi-ranger-plugin ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @ 
> nifi-ranger-plugin ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ nifi-ranger-plugin 
> ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.7.0:process 
> (process-resource-bundles) @ nifi-ranger-plugin ---
> [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
> [INFO] Copying 3 resources from 1 bundle.
> [INFO]
> [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ 
> nifi-ranger-plugin ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Using 'UTF-8' encoding to copy filtered properties files.
> [INFO] Copying 1 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.9.0:compile (default-compile) @ 
> nifi-ranger-plugin ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) 
> @ nifi-ranger-plugin ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Using 'UTF-8' encoding to copy filtered properties files.
> [INFO] Copying 7 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.9.0:testCompile (default-testCompile) @ 
> nifi-ranger-plugin ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-compiler-plugin:3.9.0:testCompile (groovy-tests) @ 
> nifi-ranger-plugin ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ 
> nifi-ranger-plugin ---
> [INFO]
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer
> [ERROR] Tests run: 12, Failures: 0, Errors: 11, Skipped: 1, Time elapsed: 
> 0.609 s <<< FAILURE! - in 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer
> [ERROR] 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testResourceNotFound
>   Time elapsed: 0.526 s  <<< ERROR!
> org.apache.nifi.authorization.exception.AuthorizerCreationException: Error 
> creating RangerBasePlugin
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> Caused by: java.lang.UnsatisfiedLinkError: 
> /Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp: 
> dlopen(/Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp, 
> 0x0001): tried: 
> '/Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp' (fat file, 
> but missing compatible architecture (have 'i386,x86_64', need 'arm64e')), 
> '/usr/lib/jna6957663128700482122.tmp' (no such file)
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> [ERROR] 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testKerberosEnabledWithoutPrincipal
>   Time elapsed: 0.009 s  <<< ERROR!
> org.apache.nifi.authorization.exception.AuthorizerCreationException: Error 
> creating RangerBasePlugin
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> Caused by: java.lang.NoClassDefFoundError: Could not initialize class 
> org.apache.ranger.plugin.util.RangerRESTUtils
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> [ERROR] 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testApprovedWithNonDirectAccess
>   Time elapsed: 0.007 s  <<< ERROR!
> org.apache.nifi.authorization.exception.AuthorizerCreationException: Error 
> creating 

[jira] [Updated] (NIFI-9813) NiFi Ranger Plugin will not run on ARM

2022-07-18 Thread Kevin Doran (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-9813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Doran updated NIFI-9813:
--
Status: Patch Available  (was: Reopened)

> NiFi Ranger Plugin will not run on ARM
> --
>
> Key: NIFI-9813
> URL: https://issues.apache.org/jira/browse/NIFI-9813
> Project: Apache NiFi
>  Issue Type: Sub-task
>Reporter: Kevin Doran
>Assignee: Kevin Doran
>Priority: Minor
> Fix For: 1.17.0
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> See the following test failures for nifi-ranger-plugin on ARM
> {noformat}
> [INFO] -< org.apache.nifi:nifi-ranger-plugin 
> >-
> [INFO] Building nifi-ranger-plugin 1.16.0-SNAPSHOT
> [402/642]
> [INFO] [ jar 
> ]-
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ 
> nifi-ranger-plugin ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @ 
> nifi-ranger-plugin ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ nifi-ranger-plugin 
> ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.7.0:process 
> (process-resource-bundles) @ nifi-ranger-plugin ---
> [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
> [INFO] Copying 3 resources from 1 bundle.
> [INFO]
> [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ 
> nifi-ranger-plugin ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Using 'UTF-8' encoding to copy filtered properties files.
> [INFO] Copying 1 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.9.0:compile (default-compile) @ 
> nifi-ranger-plugin ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) 
> @ nifi-ranger-plugin ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Using 'UTF-8' encoding to copy filtered properties files.
> [INFO] Copying 7 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.9.0:testCompile (default-testCompile) @ 
> nifi-ranger-plugin ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-compiler-plugin:3.9.0:testCompile (groovy-tests) @ 
> nifi-ranger-plugin ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ 
> nifi-ranger-plugin ---
> [INFO]
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer
> [ERROR] Tests run: 12, Failures: 0, Errors: 11, Skipped: 1, Time elapsed: 
> 0.609 s <<< FAILURE! - in 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer
> [ERROR] 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testResourceNotFound
>   Time elapsed: 0.526 s  <<< ERROR!
> org.apache.nifi.authorization.exception.AuthorizerCreationException: Error 
> creating RangerBasePlugin
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> Caused by: java.lang.UnsatisfiedLinkError: 
> /Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp: 
> dlopen(/Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp, 
> 0x0001): tried: 
> '/Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp' (fat file, 
> but missing compatible architecture (have 'i386,x86_64', need 'arm64e')), 
> '/usr/lib/jna6957663128700482122.tmp' (no such file)
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> [ERROR] 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testKerberosEnabledWithoutPrincipal
>   Time elapsed: 0.009 s  <<< ERROR!
> org.apache.nifi.authorization.exception.AuthorizerCreationException: Error 
> creating RangerBasePlugin
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> Caused by: java.lang.NoClassDefFoundError: Could not initialize class 
> org.apache.ranger.plugin.util.RangerRESTUtils
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> [ERROR] 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testApprovedWithNonDirectAccess
>   Time elapsed: 0.007 s  <<< ERROR!
> org.apache.nifi.authorization.exception.AuthorizerCreationException: Error 
> creating RangerBasePlugin
>   at 
> 

[jira] [Updated] (NIFI-9813) NiFi Ranger Plugin will not run on ARM

2022-07-18 Thread Kevin Doran (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-9813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Doran updated NIFI-9813:
--
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> NiFi Ranger Plugin will not run on ARM
> --
>
> Key: NIFI-9813
> URL: https://issues.apache.org/jira/browse/NIFI-9813
> Project: Apache NiFi
>  Issue Type: Sub-task
>Reporter: Kevin Doran
>Assignee: Kevin Doran
>Priority: Minor
> Fix For: 1.17.0
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> See the following test failures for nifi-ranger-plugin on ARM
> {noformat}
> [INFO] -< org.apache.nifi:nifi-ranger-plugin 
> >-
> [INFO] Building nifi-ranger-plugin 1.16.0-SNAPSHOT
> [402/642]
> [INFO] [ jar 
> ]-
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ 
> nifi-ranger-plugin ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @ 
> nifi-ranger-plugin ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ nifi-ranger-plugin 
> ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.7.0:process 
> (process-resource-bundles) @ nifi-ranger-plugin ---
> [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
> [INFO] Copying 3 resources from 1 bundle.
> [INFO]
> [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ 
> nifi-ranger-plugin ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Using 'UTF-8' encoding to copy filtered properties files.
> [INFO] Copying 1 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.9.0:compile (default-compile) @ 
> nifi-ranger-plugin ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) 
> @ nifi-ranger-plugin ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Using 'UTF-8' encoding to copy filtered properties files.
> [INFO] Copying 7 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.9.0:testCompile (default-testCompile) @ 
> nifi-ranger-plugin ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-compiler-plugin:3.9.0:testCompile (groovy-tests) @ 
> nifi-ranger-plugin ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ 
> nifi-ranger-plugin ---
> [INFO]
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer
> [ERROR] Tests run: 12, Failures: 0, Errors: 11, Skipped: 1, Time elapsed: 
> 0.609 s <<< FAILURE! - in 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer
> [ERROR] 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testResourceNotFound
>   Time elapsed: 0.526 s  <<< ERROR!
> org.apache.nifi.authorization.exception.AuthorizerCreationException: Error 
> creating RangerBasePlugin
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> Caused by: java.lang.UnsatisfiedLinkError: 
> /Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp: 
> dlopen(/Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp, 
> 0x0001): tried: 
> '/Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp' (fat file, 
> but missing compatible architecture (have 'i386,x86_64', need 'arm64e')), 
> '/usr/lib/jna6957663128700482122.tmp' (no such file)
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> [ERROR] 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testKerberosEnabledWithoutPrincipal
>   Time elapsed: 0.009 s  <<< ERROR!
> org.apache.nifi.authorization.exception.AuthorizerCreationException: Error 
> creating RangerBasePlugin
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> Caused by: java.lang.NoClassDefFoundError: Could not initialize class 
> org.apache.ranger.plugin.util.RangerRESTUtils
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> [ERROR] 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testApprovedWithNonDirectAccess
>   Time elapsed: 0.007 s  <<< ERROR!
> org.apache.nifi.authorization.exception.AuthorizerCreationException: Error 
> creating RangerBasePlugin
>   

[jira] [Updated] (NIFI-9813) NiFi Ranger Plugin will not run on ARM

2022-07-16 Thread Kevin Doran (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-9813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Doran updated NIFI-9813:
--
Fix Version/s: 1.17.0
   Status: Patch Available  (was: In Progress)

> NiFi Ranger Plugin will not run on ARM
> --
>
> Key: NIFI-9813
> URL: https://issues.apache.org/jira/browse/NIFI-9813
> Project: Apache NiFi
>  Issue Type: Sub-task
>Reporter: Kevin Doran
>Assignee: Kevin Doran
>Priority: Minor
> Fix For: 1.17.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> See the following test failures for nifi-ranger-plugin on ARM
> {noformat}
> [INFO] -< org.apache.nifi:nifi-ranger-plugin 
> >-
> [INFO] Building nifi-ranger-plugin 1.16.0-SNAPSHOT
> [402/642]
> [INFO] [ jar 
> ]-
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ 
> nifi-ranger-plugin ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @ 
> nifi-ranger-plugin ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ nifi-ranger-plugin 
> ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.7.0:process 
> (process-resource-bundles) @ nifi-ranger-plugin ---
> [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
> [INFO] Copying 3 resources from 1 bundle.
> [INFO]
> [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ 
> nifi-ranger-plugin ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Using 'UTF-8' encoding to copy filtered properties files.
> [INFO] Copying 1 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.9.0:compile (default-compile) @ 
> nifi-ranger-plugin ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) 
> @ nifi-ranger-plugin ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Using 'UTF-8' encoding to copy filtered properties files.
> [INFO] Copying 7 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.9.0:testCompile (default-testCompile) @ 
> nifi-ranger-plugin ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-compiler-plugin:3.9.0:testCompile (groovy-tests) @ 
> nifi-ranger-plugin ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ 
> nifi-ranger-plugin ---
> [INFO]
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer
> [ERROR] Tests run: 12, Failures: 0, Errors: 11, Skipped: 1, Time elapsed: 
> 0.609 s <<< FAILURE! - in 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer
> [ERROR] 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testResourceNotFound
>   Time elapsed: 0.526 s  <<< ERROR!
> org.apache.nifi.authorization.exception.AuthorizerCreationException: Error 
> creating RangerBasePlugin
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> Caused by: java.lang.UnsatisfiedLinkError: 
> /Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp: 
> dlopen(/Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp, 
> 0x0001): tried: 
> '/Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp' (fat file, 
> but missing compatible architecture (have 'i386,x86_64', need 'arm64e')), 
> '/usr/lib/jna6957663128700482122.tmp' (no such file)
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> [ERROR] 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testKerberosEnabledWithoutPrincipal
>   Time elapsed: 0.009 s  <<< ERROR!
> org.apache.nifi.authorization.exception.AuthorizerCreationException: Error 
> creating RangerBasePlugin
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> Caused by: java.lang.NoClassDefFoundError: Could not initialize class 
> org.apache.ranger.plugin.util.RangerRESTUtils
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> [ERROR] 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testApprovedWithNonDirectAccess
>   Time elapsed: 0.007 s  <<< ERROR!
> org.apache.nifi.authorization.exception.AuthorizerCreationException: Error 
> creating 

[jira] [Updated] (NIFI-9813) NiFi Ranger Plugin will not run on ARM

2022-07-16 Thread Kevin Doran (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-9813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Doran updated NIFI-9813:
--
Summary: NiFi Ranger Plugin will not run on ARM  (was: NiFi Ranger Plugin 
may have issues on ARM)

> NiFi Ranger Plugin will not run on ARM
> --
>
> Key: NIFI-9813
> URL: https://issues.apache.org/jira/browse/NIFI-9813
> Project: Apache NiFi
>  Issue Type: Sub-task
>Reporter: Kevin Doran
>Assignee: Kevin Doran
>Priority: Minor
>
> See the following test failures for nifi-ranger-plugin on ARM
> {noformat}
> [INFO] -< org.apache.nifi:nifi-ranger-plugin 
> >-
> [INFO] Building nifi-ranger-plugin 1.16.0-SNAPSHOT
> [402/642]
> [INFO] [ jar 
> ]-
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ 
> nifi-ranger-plugin ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @ 
> nifi-ranger-plugin ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ nifi-ranger-plugin 
> ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.7.0:process 
> (process-resource-bundles) @ nifi-ranger-plugin ---
> [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
> [INFO] Copying 3 resources from 1 bundle.
> [INFO]
> [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ 
> nifi-ranger-plugin ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Using 'UTF-8' encoding to copy filtered properties files.
> [INFO] Copying 1 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.9.0:compile (default-compile) @ 
> nifi-ranger-plugin ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) 
> @ nifi-ranger-plugin ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Using 'UTF-8' encoding to copy filtered properties files.
> [INFO] Copying 7 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.9.0:testCompile (default-testCompile) @ 
> nifi-ranger-plugin ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-compiler-plugin:3.9.0:testCompile (groovy-tests) @ 
> nifi-ranger-plugin ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ 
> nifi-ranger-plugin ---
> [INFO]
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer
> [ERROR] Tests run: 12, Failures: 0, Errors: 11, Skipped: 1, Time elapsed: 
> 0.609 s <<< FAILURE! - in 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer
> [ERROR] 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testResourceNotFound
>   Time elapsed: 0.526 s  <<< ERROR!
> org.apache.nifi.authorization.exception.AuthorizerCreationException: Error 
> creating RangerBasePlugin
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> Caused by: java.lang.UnsatisfiedLinkError: 
> /Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp: 
> dlopen(/Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp, 
> 0x0001): tried: 
> '/Users/kdoran/Library/Caches/JNA/temp/jna6957663128700482122.tmp' (fat file, 
> but missing compatible architecture (have 'i386,x86_64', need 'arm64e')), 
> '/usr/lib/jna6957663128700482122.tmp' (no such file)
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> [ERROR] 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testKerberosEnabledWithoutPrincipal
>   Time elapsed: 0.009 s  <<< ERROR!
> org.apache.nifi.authorization.exception.AuthorizerCreationException: Error 
> creating RangerBasePlugin
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> Caused by: java.lang.NoClassDefFoundError: Could not initialize class 
> org.apache.ranger.plugin.util.RangerRESTUtils
>   at 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.setup(TestRangerNiFiAuthorizer.java:93)
> [ERROR] 
> org.apache.nifi.ranger.authorization.TestRangerNiFiAuthorizer.testApprovedWithNonDirectAccess
>   Time elapsed: 0.007 s  <<< ERROR!
> org.apache.nifi.authorization.exception.AuthorizerCreationException: Error 
> creating RangerBasePlugin
>   at 
>