当前位置:   article > 正文

hadoop大数据最全环境变量配置-一键搞定

hadoop大数据最全环境变量配置-一键搞定
#jdk
export JAVA_HOME=/home/soft/jdk
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

#scala
export SCALA_HOME=/home/soft/scala/
export PATH=$SCALA_HOME/bin:$PATH


#hadoop
export HADOOP_HOME=/home/soft/hadoop
export PATH=$PATH:$JAVA_HOME/bin
export PATH=$PATH:$HADOOP_HOME/bin:$HADOOP_HOME/sbin

export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native  
export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib"  

export JAVA_LIBRARY_PATH=$HADOOP_HOME/lib/native  


#marven
export M2_HOME=/home/soft/marven
export PATH=$PATH:$M2_HOME/bin


#hive
export HIVE_HOME=/home/soft/hive
export PATH=$PATH:$HIVE_HOME/bin


#hbase
export HBASE_HOME=/home/soft/hbase
export PATH=$PATH:$HBASE_HOME/bin

#zk
export ZK_HOME=/home/soft/zk
export PATH=$PATH:$ZK_HOME/bin

#pig
export PIG_HOME=/home/soft/pig
export PATH=$PATH:$PIG_HOME/bin

#sqoop
export SQOOP_HOME=/home/soft/sqoop
export PATH=$PATH:$SQOOP_HOME/bin

#flume
export FLUME_HOME=/home/soft/flume
export PATH=$PATH:$FLUME_HOME/bin

#kafka
export KAFKA_HOME=/home/soft/kafka
export PATH=$PATH:$KAFKA_HOME/bin

#storm
export STORM_HOME=/home/soft/storm
export PATH=$PATH:$STORM_HOME/bin

#spark
export SPARK_HOME=/home/soft/spark
export PATH=$PATH:$SPARK_HOME/bin:$SPARK_HOME/sbin
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/634000
推荐阅读
相关标签
  

闽ICP备14008679号