問題描述
獲得許可被拒絕(公鑰)。在 AWS 上啟動 hadoop 集群時 (Getting Permission denied (publickey). when starting hadoop cluster on AWS)
在 AWS 中啟動 hadoop 多節點集群時出現“權限被拒絕(公鑰)”錯誤。但是,當我在不啟動集群的情況下對每個單獨的從節點執行 ssh 時,我就可以訪問它們。我將所有設置都正確並檢查了兩次。有什麼可能出錯的幫助嗎?
參考解法
方法 1:
The problem was i created a new user i.e. hduser and then configured hadoop in it. I did all the setup(hadoop configuration) in Ubuntu user(default for ec2 Ubuntu instances) and it worked. I think its better to use default users's in AWS instances then creating any new one and then struggling to get permissions and other errors.