Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Supported Operating Systems

Linux

  • Ubuntu 14.04, 15.04
  • CentOS 6.5

OS X

Not supported

Windows

Not supported

...

Code Block
languagebash
themeEmacs
git clone https://github.com/awleblang/impala-setup
cd impala-setup
sudo ./install.sh

 

...

Set the following environment variables

Put these in your `.bashrc` or elsewhere:

On Ubuntu 14.04

...

 

Code Block
languagebash
themeEmacs
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

...


 

On CentOs 6.5

export BOOST_ROOT=/usr/local

---
### Add a path for HDFS domain sockets

sudo mkdir /var/lib/hadoop-hdfs/
sudo chown <user> /var/lib/hadoop-hdfs/
----
### Start local ssh server

sudo service ssh start

----
### Enable password-less SSH for HBase

ssh-keygen -t dsa
# Do not type in any passkey. Just press enter.
cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys

---
### Setup NTP for Kudu

On CentOS 7

yum install ntp
systemctl start ntpd
---