Versions Compared

Key

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


Info

See Bootstrapping an Impala Development Environment From Scratch for up-to-date, regularly tested, steps to set up your development environment.

The information on this page is stale, but maybe be useful for adventurous people who want to set up a dev environment manually from scratch.

This page is out of date, but retained in case people want/need to try setting up Impala from scratch without the automated Chef script.

...

Java

Download and install a Java 7 or Java 8 JDK. Either the Oracle JDK or OpenJDK should work for development.

On Ubuntu 14.04:

...

You need to make a configurations change to allow Hbase and the Hive metastore to functions correctly. Edit the following file as root.
On Ubuntu 14.04 and 16.04

    /etc/postgresql/*/main/pg_hba.conf

On CentOs 6.5

    /var/lib/pgsql/data/pg_hba.conf

...


To make Postgres aware of these changes, either restart the service or run: pg_ctl reload 


If the script fails to start postgresql due to a missing snakeoil SSL cert, do:

...

Put these in your `.bashrc` or elsewhere:
On Ubuntu 14.04/CentOS6.5

Code Block
export JAVA_HOME=/usr/lib/jvm/java-7-oracle<your java version>
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
export LC_ALL="en_US.UTF-8"

# If you installed maven manually:
export M2_HOME=/usr/local/apache-maven-3.0.5
export M2=$M2_HOME/bin  
export PATH=$M2:$PATH

...

Code Block
sudo apt-get install ntp ntpdate
sudo service ntp start

...


On CentOS 7

Code Block
yum install ntp
systemctl start ntpd

...