不在本地计算机上启动的Hadoop独立模式存在权限问题

时间:2018-05-30 23:22:48

标签: hadoop ssh permissions

我无法弄清问题是什么,我已经检查了问题的所有可用链接并尝试但仍然存在同样的问题。
请提供帮助,因为可用的沙箱需要更高的配置,例如更多RAM。

hstart
WARNING: Attempting to start all Apache Hadoop daemons as adityaverma 
in 10 seconds.
WARNING: This is not a recommended production deployment configuration.
WARNING: Use CTRL-C to abort.
Starting namenodes on [localhost]
localhost: adityaverma@localhost: Permission denied 
(publickey,password,keyboard-interactive).
Starting datanodes
localhost: adityaverma@localhost: Permission denied 
(publickey,password,keyboard-interactive).
Starting secondary namenodes [Adityas-MacBook-Pro.local]
Adityas-MacBook-Pro.local: adityaverma@adityas-macbook-pro.local: 
Permission denied (publickey,password,keyboard-interactive).
2018-05-30 11:07:03,084 WARN util.NativeCodeLoader: Unable to load 
 native-hadoop library for your platform... using builtin-java classes    
where applicable
Starting resourcemanager
Starting nodemanagers
localhost: adityaverma@localhost: Permission denied (publickey,password,keyboard-interactive).

1 个答案:

答案 0 :(得分:0)

此错误通常意味着您无法设置无密码SSH。例如,ssh localhost应该发生同样的错误,它不应该提示输入密码

在生成SSH密钥时再次检查Hadoop文档,并将其添加到授权密钥文件

如果沙箱需要太多资源,我可能会建议设置虚拟机(例如,使用Vagrant)。 Hortonworks& Cloudrea安装文档非常详细,可以从头开始安装集群 通过这种方式,Hadoop不会使Mac的硬盘变得混乱,Linux服务器将更接近于在生产环境中运行的Hadoop安装