hadoop 3.x 启动过程中 Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

时间:2024-05-13 13:06:43

出现这种状况是因为当前账号没有配置ssh免密登录

hadoop  3.x 启动过程中 Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

进入到以下目录,查看是否生成过秘钥对,如果有的话直接ssh-copy-id 主机名 没有的话执行ssh-keygen -t rsa后再重新执行ssh-copy-id 主机(不要忘记本机),停掉hadoop,重新启动错误消失

hadoop  3.x 启动过程中 Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).