You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

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

  1. Install prerequisites

    git clone https://github.com/awleblang/impala-setup
    cd impala-setup
    sudo ./install.sh
  2. 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
  3. 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
    
  4. 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
  5. 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
  6. Start the Impala cluster
  7. Check that everything works correctly
  8. Have fun...
  9. Recompile 

 

 

  • No labels