hadoop独立模式未在本地计算机上启动存在权限问题

qnyhuwrf  于 2021-05-29  发布在  Hadoop
关注(0)|答案(1)|浏览(497)

我不能够找出什么问题是,我已经检查了所有的链接,为这个问题,并尝试,但仍然是相同的问题。
请需要帮助,因为可用的沙盒需要更高的配置,如更多的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).
dy1byipe

dy1byipe1#

此错误通常意味着您无法设置无密码ssh。例如,相同的错误应该发生在 ssh localhost ,并且不应提示输入密码
再次检查hadoop文档中关于ssh密钥生成的内容,并将其添加到您的authorized keys文件中
如果沙盒需要太多资源,我可能会建议无论如何设置一个虚拟机(例如,使用vagrant)。hortonworks&cloudrea安装文档非常详细,可以从头开始安装集群
这样,hadoop就不会把你的mac硬盘弄得乱七八糟,linux服务器将更接近于在生产环境中运行的hadoop安装

相关问题