獲得許可被拒絕(公鑰)。在 AWS 上啟動 hadoop 集群時 (Getting Permission denied (publickey). when starting hadoop cluster on AWS)


問題描述

獲得許可被拒絕(公鑰)。在 AWS 上啟動 hadoop 集群時 (Getting Permission denied (publickey). when starting hadoop cluster on AWS)

在 AWS 中啟動 hadoop 多節點集群時出現“權限被拒絕(公鑰)”錯誤。但是,當我在不啟動集群的情況下對每個單獨的從節點執行 ssh 時,我就可以訪問它們。我將所有設置都正確並檢查了兩次。有什麼可能出錯的幫助嗎?

start‑all.sh 啟動 Hadoop 集群時所有從節點出錯


參考解法

方法 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.

(by Novice_JSNovice_JS)

參考文件

  1. Getting Permission denied (publickey). when starting hadoop cluster on AWS (CC BY‑SA 2.5/3.0/4.0)

#java #hadoop #cluster-computing #amazon-web-services #mapreduce






相關問題

電子郵件地址中帶有 + 字符的 Java 郵件 (Java mail with + character in email address)

如何快速原型化 Java 代碼? (How to quickly prototype Java code?)

如何使用 Maven 在目標(SVN-)服務器上創建 Javadoc? (How to create Javadoc on the target (SVN-) server using Maven?)

為什麼檢查二叉樹有效性的解決方案不起作用? (Why the solution for checking the validity of binary tree is not working?)

Selenium webdriver通過第一個數字找到texy (Selenium webdriver find texy by first digits)

setOnClickListener 沒有在圖像視圖上被調用 (setOnClickListener is not getting called on image view)

繪製多邊形:找不到錯誤 (Drawing Polygon : unable to find error)

半透明 JButton:對像出現在背景中 (Semi-Transparent JButton: Objects appear in Background)

比較同一數組的元素 (Compare elements of the same array)

Java 屏幕截圖小程序 (Java screen capture applet)

Minecraft 1.8.9 Forge Modding 的Java 開發工具包,需要什麼JDK/JRE,代碼是否正確? (Java Development Kit with Minecraft 1.8.9 Forge Modding, What JDK/JRE Is Needed, Is Code Correct?)

java while (resultset.next()) 不返回同一列中的所有數據 (java while (resultset.next()) does not return all data in the same column)







留言討論