# pinot-dev

saurabh dubey

04/06/2022, 10:16 PM
@User @User the master branch should compile just fine now. The required pom changes were merged recently. Beyond that, I just made sure I used the right jdk (official openjdk 11 isn't available as such for M1 yet, so had to use It compiled for me with this.
Also run
Copy code
softwareupdate --install-rosetta settings.xml also needs to be changed
Copy code
vi ~/.m2/settings.xml
Copy code

Kartik Khare

04/07/2022, 3:36 AM
This is the most important setting. Basically, what's happening here is that we are asking pinot to download x86_64 binaries for proto and grpc. The rosetta layer in M1 handles the translation for us to aarch_64.

saurabh dubey

04/08/2022, 10:19 AM
Adding to this, .snappy.parquet ingestion fails on M1 due to snappy-java dependency version being
Copy code
which fails with "org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] no native library is found for and os.arch=aarch64" The solution should be to upgrade to but I haven't been able to get it to work yet due to dependency conflicts but will update. As a workaround suggested by @User, using gzip instead of snappy for parquet compression works. cc: @User @User