1
大家好,對於我的Hadoop環境,我試圖設置CentOS客戶端作爲Ambari管理系統的datanode。Ambari資源目錄?
不過,我的數據節點的啓動過程中遇到了問題,這裏是錯誤日誌:
Fail: Execution of 'mkdir -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 http://sandbox.hortonworks.com:8080/resources//jdk-7u45-linux-x64.tar.gz -o /tmp/HDP-artifacts//jdk- 7u45-linux-x64.tar.gz' returned 22. % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
所以我相信有在客戶端無法獲得的.tar問題來自Ambari服務器的.gz文件。有沒有解決方法?我想也許我可以從網上下載文件並將其粘貼到沙箱中,但我不知道沙箱的資源目錄是在哪裏。
What I've tried so far:
1.) rebooting the entire environment
2.) making changes within the python code to curl out to the web
3.) manualy installing the same jdk version on each client
但沒有以上的解決方案都爲我工作..
任何幫助表示讚賞,感謝。
也爲我工作。 'cp mysql-connector-java.jar/var/lib/ambari-server/resources /; ambari-server restart' – Utgarda 2018-03-07 20:22:02