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