首页 > 其他 > 详细

Ambari部署,编译,打包过程中遇到的问题

时间:2014-12-09 19:22:40      阅读:3533      评论:0      收藏:0      [点我收藏+]

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/workspacebubuko.com,布布扣baribubuko.com,布布扣bari-agent/targetbubuko.com,布布扣b], directory [bubuko.com,布布扣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] bubuko.com,布布扣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>
<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部署,编译,打包过程中遇到的问题

原文:http://www.cnblogs.com/wk022/p/4153843.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!