gpt4 book ai didi

hadoop - 无法创建Hadoop集群

转载 作者:行者123 更新时间:2023-12-02 21:45:11 27 4
gpt4 key购买 nike

我正在按照http://alanxelsys.com/hadoop-v2-single-node-installation-on-centos-6-5安装hadoop
在我的集群上

我已经在/ usr / local / hadoop / sbin目录中安装了hadoop,并在尝试执行bash脚本时安装了hadoop

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

最佳答案

start-all.sh脚本说“已弃用此脚本。请使用start-dfs.sh和start-yarn.sh”,因此应使用start-dfs.sh和start-yarn.sh

关于hadoop - 无法创建Hadoop集群,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25950309/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com