1.错误: [ERROR] Failed to execute goal com.github.goldin:copy-maven-plugin:0.2.5:copy (create-archive) on project ambari-agent: Processing <resource> [Target path(s) [/home/bdms/workspace
bari
bari-agent/target
b], directory [
http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.15/repos/centos6/ruby-1.8.7-p370.tar.gz], dependencies []] failed with [java.net.ConnectException]: Connection refused -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information a
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information a

在Ambari部署和打包过程中遇到了两个主要问题。一是Maven执行目标时遇到连接拒绝错误,解决方案是修改ambari-agent的pom.xml文件,将资源路径指向本地已下载的文件。二是Apache RAT插件检查时发现过多未批准的许可证文件,可通过删除.pydevproject文件或在ambari-client的pom.xml中添加排除规则来解决。
最低0.47元/天 解锁文章
1228

被折叠的 条评论
为什么被折叠?



