gpt4 book ai didi

hadoop - 启动start-all.sh(HADOOP)时出错

转载 作者:行者123 更新时间:2023-12-02 20:55:54 25 4
gpt4 key购买 nike

以下是我使用start-all.sh启动hadoop守护程序时收到的错误消息:attached screenshot

STARTUP_MSG:   build = https://git-wip-us.apache.org/repos/asf/hadoop.git -r 91f2b7a13d1e97be65db92ddabc627cc29ac0009; compiled by 'jdu' on 2017-03-17T04:12Z
STARTUP_MSG: java = 1.8.0_121
cat: /usr/local/hadoop/conf/slaves: No such file or directory

有哪些修复程序?

最佳答案

查看错误消息,似乎您在slaves目录中缺少/usr/local/hadoop/conf/文件。你可以创建一个

如果您以hadoop模式运行local/pseudo,则只需将localhost放入该文件中

如果您以hadoop模式运行cluster,则需要在集群中添加所有iphostnameslave-machines

关于hadoop - 启动start-all.sh(HADOOP)时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44537076/

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