[atguigu@node10 hadoop-3.1.3]$ ./sbin/start-dfs.sh Starting namenodes on [node10] node10: Warning: Permanently added 'node10,192.168.10.10' (ECDSA) to the list of known hosts. node10: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). Starting datanodes localhost: Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts. node11: Warning: Permanently added 'node11,192.168.10.11' (ECDSA) to the list of known hosts.
时间: 2024-04-01 07:34:29 浏览: 160
大数据 hadoop-3.1.3 linux 安装包
这个错误提示表明你在启动Hadoop分布式文件系统时,出现了权限问题。可能是因为你没有设置正确的SSH密钥认证方式。你可以尝试使用ssh命令手动连接到node10和node11,看看是否需要输入密码。如果需要输入密码,则说明SSH密钥认证设置有问题。可以参考Hadoop官方文档,重新配置SSH认证方式。
阅读全文