gpt4 book ai didi

java - Archlinux上的Hadoop dfs无法启动| SSH端口22连接被拒绝

转载 作者:行者123 更新时间:2023-12-02 21:34:29 28 4
gpt4 key购买 nike

我只是找不到这个问题的任何答案:

[hadoop@evghost ~]$ start-dfs.sh
15/10/21 21:59:17 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.
Starting namenodes on []
evghost: ssh: connect to host evghost port 22: Connection refused
evghost: ssh: connect to host evghost port 22: Connection refused
Starting secondary namenodes [0.0.0.0]
Error: Please specify one of --hosts or --hostnames options and not both.
15/10/21 21:59:20 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable



有人知道任何解决方案吗?

最佳答案

我应该启用守护程序sshd进行连接和发布

export HADOOP_OPTS="$HADOOP_OPTS -Djava.library.path=/usr/local/hadoop/lib/native"



在.bashrc中

关于java - Archlinux上的Hadoop dfs无法启动| SSH端口22连接被拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33267159/

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