无法运行start-dfs.sh

enyaitl3  于 2021-06-02  发布在  Hadoop
关注(0)|答案(1)|浏览(411)

我跑不了 start-dfs.sh ```
ubuntu@UBUNTU:~$ start-dfs.sh
14/10/19 19:26:50 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [localhost]
localhost: ssh: connect to host localhost port 22: Connection refused
localhost: ssh: connect to host localhost port 22: Connection refused
Starting secondary namenodes [0.0.0.0]
0.0.0.0: ssh: connect to host 0.0.0.0 port 22: Connection refused
14/10/19 19:27:19 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
ubuntu@UBUNTU:~$

安装hadoop时,我执行了以下操作:

ssh-keygen -t rsa -P ''
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

j8ag8udp

j8ag8udp1#

ssh localhost 工作?我想不是。你必须先让它起作用。您必须有一个公钥/私钥集的工作组合。更多信息,请访问谷歌 passwordless SSH login 或者看看这里的例子:http://rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca/documents/internet/node31.html

相关问题