#java
export JAVA_HOME=/usr/java/jdk1.8.0_201
export CLASSPATH=$JAVA_HOME/lib/
export PATH=$PATH:$ JAVA_HOME/bin
export PATH JAVA_HOME CLASSPATH
#zookeeper
export ZOOKEEPER_HOME=/usr/zookeeper/zookeeper-3.4.13
PATH=$PATH:$ZOOKEEPER_HOME/bin
#hadoop
export HADOOP_HOME=/usr/hadoop/hadoop-2.7.3
export CLASSPATH=$CLASSPATH:$HADOOP_HOME/lib
export PATH=$PATH:$HADOOP_HOME/bin
#scala
export SCALA_HOME=/usr/scala/scala-2.12.8
export PATH=$SCALA_HOME/bin:$PATH
#spark
export SPARK_MASTER_IP=master
export SCALA_HOME=/usr/scala/scala-2.12.8
export SPARK_WORKER_MEMORY=8g
export JAVA_HOME=/usr/java/jdk1.8.0_201
export HADOOP_HOME=/usr/hadoop/hadoop-2.7.3
export HADOOP_CONF_DIR=/usr/hadoop/hadoop-2.7.3/etc/hadoop