Prerequisites and Requirements
Hardware Requirements
- CPU (processor must support at least SSSE3)
- Minimum Memory: 8GB
Supported Operating Systems
Linux
- Ubuntu 14.04, 15.04
OS X
Not supported
Windows
Not supported
Installing and Configuring Impala
Install prerequisites
git clone https://github.com/awleblang/impala-setup cd impala-setup sudo ./install.sh
Clone the Impala git repo and change to the new Impala directory.
git clone https://git-wip-us.apache.org/repos/asf/incubator-impala.git Impala cd Impala
Set the following environment variables in your `.bashrc` or elsewhere:
export JAVA_HOME=/usr/lib/jvm/java-7-oracle export IMPALA_HOME=<path to Impala> export BOOST_LIBRARYDIR=/usr/lib/x86_64-linux-gnu export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu export LC_ALL="en_US.UTF-8" export M2_HOME=/usr/local/apache-maven-3.0.5 export M2=$M2_HOME/bin export PATH=$M2:$PATH
Build Impala
source ${IMPALA_HOME}/bin/impala-config.sh # Build Impala and prepare the local pseudo-cluster (the first time only) ${IMPALA_HOME}/buildall.sh -noclean -skiptests -build_shared_libs -format
Start supporting services
Start supporting services# This script starts a full set of local services # including HDFS, HBase, Hive and ZooKeeper, amongst # other things. If you have trouble starting this script, # check the log files in${IMPALA_HOME}/cluster_logs/ for clues. ${IMPALA_HOME}/testdata/bin/run-all.sh
- Start the Impala cluster
- Check that everything works correctly
- Have fun...
- Recompile