-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74092/#review224931
-----------------------------------------------------------


Ship it!




Ship It!

- Selvamohan Neethiraj


On Dec. 1, 2022, 7:20 p.m., ziyue yang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/74092/
> -----------------------------------------------------------
> 
> (Updated Dec. 1, 2022, 7:20 p.m.)
> 
> 
> Review request for ranger.
> 
> 
> Bugs: RANGER-3863
>     https://issues.apache.org/jira/browse/RANGER-3863
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> [JIRA LInk](https://issues.apache.org/jira/browse/RANGER-3863)
> 
> This Pr is to update dependencies to support macOS aarch64 devices.
> 
> We'll see the `UnsatisfiedLinkError` like below:
> 
> ```plain
> Exception in thread "main" java.lang.UnsatisfiedLinkError: 
> /Users/USERNAME/Library/Caches/JetBrains/IntelliJIdea2020.3/tmp/jna6890631648374949923.tmp:
>  
> dlopen(/Users/USERNAME/Library/Caches/JetBrains/IntelliJIdea2020.3/tmp/jna6890631648374949923.tmp,
>  1): no suitable image found.  Did find:
>       
> /Users/USERNAME/Library/Caches/JetBrains/IntelliJIdea2020.3/tmp/jna6890631648374949923.tmp:
>  no matching architecture in universal wrapper
>       
> /Users/USERNAME/Library/Caches/JetBrains/IntelliJIdea2020.3/tmp/jna6890631648374949923.tmp:
>  no matching architecture in universal wrapper
>       at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> ```
> 
> This is because the dependencies wasn't updated to the version which supports 
> M1.
> 
> Maven repo link:
> 1. [Java Native 
> Access](https://mvnrepository.com/artifact/net.java.dev.jna/jna/5.7.0), 
> [changelog](https://github.com/java-native-access/jna/blob/master/CHANGES.md#release-570)
> 2. 
> [gethostname4j](https://mvnrepository.com/artifact/com.kstruct/gethostname4j),
>  [related PR](https://github.com/mattsheppard/gethostname4j/pull/8)
> 
> 
> Diffs
> -----
> 
>   pom.xml 7b0dd14c5 
>   security-admin/pom.xml 5e24dd846 
> 
> 
> Diff: https://reviews.apache.org/r/74092/diff/2/
> 
> 
> Testing
> -------
> 
> Run maven test on both intel x86 and M1 machine, succeeded
> 
> 
> Thanks,
> 
> ziyue yang
> 
>

Reply via email to