You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This document introduces the Impala project layout and some key configuration variables.
Beware that it may become stale over time as the project evolves.
Detailed Build Notes
Impala can be built with pre-built components or components downloaded from S3.
The components needed to build Impala are Apache Hadoop, Hive, and HBase.
If you need to manually override the locations or versions of these components, you
can do so through the environment variables and scripts listed below.
Scripts and directories
Location
Purpose
bin/impala-config.sh
This script must be sourced to setup all environment variables properly to allow other scripts to work
bin/impala-config-local.sh
A script can be created in this location to set local overrides for any environment variables
bin/impala-config-branch.sh
A version of the above that can be checked into a branch for convenience.
bin/bootstrap_build.sh
A helper script to bootstrap some of the build requirements.
bin/bootstrap_development.sh
A helper script to bootstrap a developer environment. Please read it before using.
be/build/
Impala build output goes here.
be/generated-sources/
Thrift and other generated source will be found here.
Typically used together to specify a local build of Apache Hive. Care should be taken
while using these variables since they take precedence over the defaults in
impala-config.sh, they may cause confusion when switching between branches or versions of
Apache Impala.
Environment variable
Description
HIVE_VERSION_OVERRIDE
Used to specify different Hive version from default
HIVE_STORAGE_API_VERSION_OVERRIDE
Used to specify different Hive Storage API version from default
HIVE_METASTORE_THRIFT_DIR_OVERRIDE
Used to specify location of metastore thrift files to use during Thrift compilation
HIVE_HOME_OVERRIDE
Used to specify location of Hive
Ranger Dependency Overrides
Typically used together to specify a local build of Apache Ranger. Care should be taken
while using these variables since they take precedence over the defaults in
impala-config.sh.
Environment variable
Description
RANGER_VERSION_OVERRIDE
Used to specify different Ranger version from default