DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
These instructions are installing the prerequisite packages and configuring for Impala.
Download the Oracle Java 7 JDK.
...
Ubuntu 14.04
...
| Code Block | ||||
|---|---|---|---|---|
| ||||
# Install Java 7
sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update -y |
# Will have to agree to License
| Code Block | ||||
|---|---|---|---|---|
| ||||
sudo apt-get install oracle-jdk7-installer -y |
...
Required packages
On Ubuntu 14.04
| Code Block | ||||
|---|---|---|---|---|
| ||||
# Install required libraries and packages sudo apt-get install git build-essential cmake bison flex pkg-config libsasl2-dev autoconf automake libtool maven subversion doxygen libbz2-dev zlib1g-dev python-pip python-setuptools python-dev libssl-dev libboost-all-dev postgresql liblzo2-dev lzop -y # Install Python packages sudo pip install allpairs pytest pytest-xdist paramiko texttable prettytable sqlparse psutil==0.7.1 pywebhdfs gitpython jenkinsapi boto3 # Configuring Boost # Newer versions of boost need to be configured to work with Impala. # Impala relies on certain boost libraries ending with a "-mt" extension. # You need to add symlinks to boost_filesystem, boost_regex, and boost_system. cd /usr/lib/x86_64-linux-gnu sudo ln -s libboost_filesystem.so libboost_filesystem-mt.so sudo ln -s libboost_filesystem.a libboost_filesystem-mt.a sudo ln -s libboost_system.so libboost_system-mt.so sudo ln -s libboost_system.a libboost_system-mt.a sudo ln -s libboost_regex.so libboost_regex-mt.so |
...
sudo ln -s libboost_regex.a libboost_regex-mt.a
|
CentOs 6.5
[this page has a good guide.](https://www.digitalocean.com/community/tutorials/how-to-install-java-on-centos-and-fedora)
| Code Block | ||||
|---|---|---|---|---|
| ||||
sudo yum groupinstall "Development Tools" sudo yum -y install git ant libevent-devel automake libtool flex bison gcc-c++ openssl-devel make cmake doxygen.x86_64 glib-devel python-devel bzip2-devel svn libevent-devel krb5-workstation openldap-devel db4-devel python-setuptools python-pip cyrus-sasl* postgresql postgresql-server ant-nodeps lzo-devel lzop sudo pip-python install allpairs pytest pytest-xdist paramiko texttable prettytable sqlparse psutil==0.7.1 pywebhdfs gitpython jenkinsapi boto3 |
...
##### Configuring Boost
Newer versions of boost need to be configured to work with Impala. Impala relies on certain boost libraries ending with a "-mt" extension. You need to add symlinks to boost_filesystem, boost_regex, and boost_system.
On Ubuntu 14.04
cd /usr/lib/x86_64-linux-gnu
sudo ln -s libboost_filesystem.so libboost_filesystem-mt.so
sudo ln -s libboost_filesystem.a libboost_filesystem-mt.a
sudo ln -s libboost_system.so libboost_system-mt.so
sudo ln -s libboost_system.a libboost_system-mt.a
sudo ln -s libboost_regex.so libboost_regex-mt.so
sudo ln -s libboost_regex.a libboost_regex-mt.a
On CentOS 6.5
cd /usr/local/lib
sudo ln -s libboost_filesystem.so libboost_filesystem-mt.so
sudo ln -s libboost_filesystem.a libboost_filesystem-mt.a
sudo ln -s libboost_system.so libboost_system-mt.so
sudo ln -s libboost_system.a libboost_system-mt.a
sudo ln -s libboost_regex.so libboost_regex-mt.so
sudo ln -s libboost_regex.a libboost_regex-mt.a
...
Then, at the `postgres` command prompt:
CREATE ROLE hiveuser LOGIN PASSWORD 'password';
ALTER ROLE hiveuser WITH CREATEDB;
---
### LLVM
wget http://llvm.org/releases/3.3/llvm-3.3.src.tar.gz
tar xvf llvm-3.3.src.tar.gz
cd llvm-3.3.src/tools/
svn co http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_33/final/ clang
cd ../projects/
svn co http://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_33/final compiler-rt
cd ..
./configure --with-pic
make -j4 REQUIRES_RTTI=1
sudo make install
---
### Maven 3
wget http://www.interior-dsgn.com/apache/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
tar xvf apache-maven-3.0.5-bin.tar.gz && sudo mv apache-maven-3.0.5 /usr/local
...