This page describes how to build Impala from source and how to configure and run Impala in a single node development environment.
Prerequisites and Requirements
- CPU must support at least SSSE3
- Minimum Memory: 8GB
Supported Operating Systems
- Ubuntu 14.04, 16.04
Installing and Configuring Impala
Install prerequisitesInstead awleblang/impala-setup, as of Dec 2017, we recommend https://github.com/apache/impala/blob/master/bin/bootstrap_development.sh to setup your Ubuntu 16.04 or Ubuntu 14.04 machine.
git clone https://github.com/awleblang/impala-setup
chmod +x install.sh
If you are running on a platform that is not supported by the above script, you will have to install prerequisites and set up your machine manually. Impala Build Prerequisites has some information that can guide you.
Clone the Impala git repo and change to the new Impala directory.
Set the following environment variables in your `.bashrc` or elsewhere:
You may hit an error here in bootstrap_toolchain.py if you are building Impala on an operating system for which prebuilt toolchain binaries are not available. In that case you will need to build native-toolchain from scratch then retry this step.
Want faster builds?
Doing a full build of Impala can take quite a while! While you wait, check out Tips for Faster Impala Builds.
Start supporting services.
Start the Impala cluster.
Check that everything works correctly.
- Have fun...
Recompile and restart the Impala cluster for your changes to take effect.