hadoop101: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

Posted 刘润森!

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了hadoop101: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).相关的知识,希望对你有一定的参考价值。

在搭建大数据集群,出现 Permission denied 的问题


报错的原因是 hadoop101 没有配置好ssh 免密登录

解决的办法是 重新 设置ssh 免密登录

[runsen@hadoop101 .ssh]$ ssh-copy-id hadoop101

之后集群 启动成功

[runsen@hadoop100 hadoop]$ myhadoop.sh start
 =================== 启动 hadoop集群 ===================
 --------------- 启动 hdfs ---------------
Starting namenodes on [hadoop100]
Starting datanodes
Starting secondary namenodes [hadoop102]
 --------------- 启动 yarn ---------------
Starting resourcemanager
Starting nodemanagers
 --------------- 启动 historyserver ---------------
[runsen@hadoop100 hadoop]$ jpsall
=============== hadoop100 ===============
24966 DataNode
25414 JobHistoryServer
25479 Jps
25242 NodeManager
=============== hadoop101 ===============
21273 Jps
20796 DataNode
21086 NodeManager
=============== hadoop102 ===============
21408 Jps
21031 DataNode
21143 SecondaryNameNode
21240 NodeManager
[runsen@hadoop100 hadoop]$ 

以上是关于hadoop101: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).的主要内容,如果未能解决你的问题,请参考以下文章

hadoop101: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

Phonegap 地理位置 PERMISSION_DENIED

user permission (hadoop)

访问HDFS报错:org.apache.hadoop.security.AccessControlException: Permission denied

Hadoop“Permission denied(publickey,password,keyboard-interactive)”警告

org.apache.hadoop.security.AccessControlException: Permission denied: user=?, access=WRITE, inode=&q