saurabh dubey
04/06/2022, 10:16 PMsaurabh dubey
04/07/2022, 3:18 AMsoftwareupdate --install-rosetta
saurabh dubey
04/07/2022, 3:21 AMvi ~/.m2/settings.xml
Copy
<settings>
<activeProfiles>
<activeProfile>
apple-silicon
</activeProfile>
</activeProfiles>
<profiles>
<profile>
<id>apple-silicon</id>
<properties>
<os.detected.classifier>osx-x86_64</os.detected.classifier>
</properties>
</profile>
</profiles>
</settings>
Kartik Khare
04/07/2022, 3:36 AMsaurabh dubey
04/08/2022, 10:19 AM1.1.1.7
which fails with
"org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] no native library is found for os.name=Mac and os.arch=aarch64"
The solution should be to upgrade to 1.1.8.2 but I haven't been able to get it to work yet due to dependency conflicts but will update.
https://github.com/xerial/snappy-java/blob/master/Milestone.md#snappy-java-1182-2020-11-28
As a workaround suggested by @User, using gzip instead of snappy for parquet compression works.
cc: @User @User