root/other-projects/hathitrust/wcsa/extracted-features-solr/trunk/vagrant-spark-hdfs-cluster/modules/hadoop/templates/setup-hadoop.bash @ 31077

Revision 31077, 0.5 KB (checked in by davidb, 3 years ago)

Move up to JDK1.8. Tidy up of Vagrant machine names. Support for YARN. Some XML whitespace indenting

Line 
1
2export JAVA_HOME=/usr/lib/jvm/java-8-oracle
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# deprecated, but set up aliases just to help keep things clear
10alias hadoop-start-all.sh="$HADOOP_HOME/sbin/start-all.sh"
11alias hadoop-stop-all.sh="$HADOOP_HOME/sbin/stop-all.sh"
12
13. "$HADOOP_HOME/etc/hadoop/hadoop-env.sh"
14
15export HADOOP_YARN_USER=htrc
16. "$HADOOP_HOME/etc/hadoop/yarn-env.sh"
Note: See TracBrowser for help on using the browser.