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

Revision 30930, 457 bytes (checked in by davidb, 4 years ago)

Expansion of useful alias commands for Hadoop and Spark

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# 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"
Note: See TracBrowser for help on using the browser.