hadoop 配置

/etc/profile

   # set hadoop
   HADOOP_INSTALL=/usr/local/lib/hadoop-2.6.0
   export PATH=$HADOOP_INSTALL/bin:$HADOOP_INSTALL/sbin:$PATH

JAVA_HOME is not set

hadoop下 conf/hadoop-env.sh

    # The java implementation to use.  Required.
    export JAVA_HOME=/usr/local/jdk1.6


你可能感兴趣的:(hadoop)