首页 > 代码库 > Ambari部署,编译,打包过程中遇到的问题
Ambari部署,编译,打包过程中遇到的问题
Ambari部署,编译,打包过程中遇到的问题
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/workspacebaribari-agent/targetb], 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 about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :ambari-agent
[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 about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :ambari-agent
解决办法:修改ambari-agent下的pom.xml文件,改为如下的本地目录,前提这三个文件以下载到本地
<facter.tar>/home/bdms/Downloads/facter-1.6.10.tar.gz</facter.tar>
<puppet.tar>/home/bdms/Downloads/facter-1.6.10.tar.gz</puppet.tar>
<puppet.tar>/home/bdms/Downloads/facter-1.6.10.tar.gz</puppet.tar>
<ruby.tar>/home/bdms/Downloads/facter-1.6.10.tar.gz</ruby.tar>
2.错误:Failed to execute goal org.apache.rat:apache-rat-plugin:0.10:check (default) on project ambari-client: Too many files with unapproved license: 1 See RAT report in: /home/bdms/workspace/ambari/ambari-client/target/rat.txt -> [Help 1]
解决办法:删除ambari-client下的.pydevproject文件
Ambari部署,编译,打包过程中遇到的问题
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。