Carlos Aguni

Highly motivated self-taught IT analyst. Always learning and ready to explore new skills. An eternal apprentice.


Build impala-profile-tool

15 Nov 2022 »

Docker image

https://hub.docker.com/layers/impala/apache/impala/4.0.0-impala_profile_tool/images/sha256-f7b49acb15f5f8b0961ee0b2eb93b6ea00d0056a5522af2f2bcec166fce6b6da?context=explore

docker run -dit --name impala-profile-tool \
    --entrypoint bash \
    apache/impala:4.0.0-impala_profile_tool

https://www.mail-archive.com/reviews@impala.apache.org/msg64723.html

impala-profile-tool is a new dependency for end-to-end tests. The tool is built together with all the other backend tests (so the buildall.sh flag ‘-notests’ can turn off building it), it is actually used in the parallel phase of end-to-end tests.

The solution is to build the tool early, at the end of the build phase running in the build container. There is already another such tool built there (parquet-reader) for similar reason, so just add impala-profile-tool to the same ‘make’ command there.

layout: post title: “Build impala-profile-tool” comments: true date: “2022-11-15 07:21:38.925000+00:00” —

Build Impala

Build impala

export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.352.b08-2.el7_9.x86_64/`

https://stackoverflow.com/questions/47524150/building-apache-impala-fails

./buildall.sh -noclean -skiptests -build_shared_libs -format

yum -y install cyrus-sasl-devel

yum -y install krb5-devel

https://stackoverflow.com/questions/5178416/libxml-install-error-using-pip

yum -y install libxslt-devel libxml2-devel