hadoop无法正常运行

时间:2019-07-16 05:37:09

标签: hadoop

我是hadoop的新手,我按以下步骤运行它:

ssh-keygen
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
ssh localhost
./start-all.sh

但是我得到以下错误:

WARNING: Attempting to start all Apache Hadoop daemons as ... in 10 seconds.
WARNING: This is not a recommended production deployment configuration.
WARNING: Use CTRL-C to abort.
Starting namenodes on [localhost]
localhost: Permission denied (publickey,password).
Starting datanodes
localhost: Permission denied (publickey,password).
Starting secondary namenodes [karbasi]
karbasi: Permission denied (publickey,password).
Starting resourcemanager
Starting nodemanagers
localhost: Permission denied (publickey,password).

请帮助我解决问题。

1 个答案:

答案 0 :(得分:0)

Permission denied issue at Hadoop Installation

在上面的链接中,您可以找到问题的原因。

如果ssh密钥生成过程中发生任何错误,或者同一用户未提取并启动hadoop安装,则会发生此问题。