Reply
New Contributor
Posts: 1
Registered: ‎03-06-2019
Accepted Solution

Has anyone tried building impala on ARM/aarch64?

I am trying to build Impala on ARM/aarch64, But I did not find any useful guide/document to read.
 

I noticed that there are some assembly code in Impala and third-party code, Has anyone tried building it on ARM?

Best Regards

York

Cloudera Employee
Posts: 416
Registered: ‎07-29-2015

Re: Has anyone tried building impala on ARM/aarch64?

You'd probably do better having a conversation about this on
dev@impala.apache.org, that's where a lot of this kind of discussion
happens.

I can give a quick answer. No you can't build Impala without modifications
on aarch64, it's x86-64 only at the moment.

I imagine most of the third party code works with aarch64, but haven't
tried it. It would require a bit of legwork to track down all the places
that assume x86-64 (intrinsics like you mentioned, but also some places in
the query compilation where we assume x86-64 calling convention). The good
news is that aarch64 is little-endian and has good LLVM support, which
removes two major obstacles.
Cloudera Employee
Posts: 416
Registered: ‎07-29-2015

Re: Has anyone tried building impala on ARM/aarch64?

Oh, the best reference for building Impala is the apache wiki.

 

https://cwiki.apache.org/confluence/display/IMPALA/Building+native-toolchain+from+scratch+and+using+... is a bit more hidden and talks about how to build the third party dependencies