root/other-projects/hathitrust/vagrant-spark-hdfs-cluster/trunk/modules/hadoop/templates/setup-hadoop.bash @ 30917

Revision 30917, 276 bytes (checked in by davidb, 4 years ago)

Changes resulting from a fresh run at provisioning, which yielded the first successful run of RUN.bash on the cluster over HDFS. OS=Trusty as Xenial box doesn't appear to have puppet installed. JDK=1.7 because Trusty by default doesn't have apt-get for OpenJDK8.

Line 
1
2export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
3export PATH="$JAVA_HOME/bin:$PATH"
4
5export HADOOP_HOME="<%= @hadoop_home %>"
6export HADOOP_CONF_DIR="$HADOOP_HOME/etc/hadoop"
7export PATH="$HADOOP_HOME/bin:$HADOOP_HOME/sbin:$PATH"
8
9. "$HADOOP_HOME/etc/hadoop/hadoop-env.sh"
Note: See TracBrowser for help on using the browser.