我在跟踪http://alanxelsys.com/hadoop-v2-single-node-installation-on-centos-6-5 安装hadoop
在我的群集上
我已经在/usr/local/hadoop/sbin目录中安装了hadoop,当我尝试执行bash脚本时
start-all.sh; system gives below error;
start-all.sh: command not found
知道我试过什么吗
1. Tried setting SSH again
2. Recheck the java path
我设置的变量是
export JAVA_HOME=/usr/java/latest
export HADOOP_INSTALL=/usr/local/hadoop
export HADOOP_MAPRED_HOME=$HADOOP_INSTALL
export HADOOP_COMMON_HOME=$HADOOP_INSTALL
export HADOOP_HDFS_HOME=$HADOOP_INSTALL
export YARN_HOME=$HADOOP_INSTALL
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_INSTALL/lib/native
export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib"export PATH=$PATH:$HADOOP_HOME/sbin:$HADOOP_HOME/bin
1条答案
按热度按时间j2qf4p5b1#
start-all.sh脚本表示“此脚本已弃用。而是使用start-dfs.sh和start-yarn.sh“所以您应该使用start-dfs.sh和start-yarn.sh