ambari-2.4.3's People
ambari-2.4.3's Issues
DBAccessorImpl:109 - Error while creating database accessor
(ERROR) apache.rat:apache-rat/plugin:too many unapproved licenses
Hey there,
I was installing Apache-Atlas framework on Ubuntu 14.04. after git clone https://git-wip-us.apache.org/repos/asf/incubator-atlas.git atlas i was trying to export and install Maven through export MAVEN_OPTS="-Xmx1536m -XX:MaxPermSize=512m" && mvn clean install but it was giving following errors:
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (rat-check) on project apache-atlas: Too many unapproved licenses: 1 -> [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/MojoFailureException
i also tried some skip options like:
-DskipTests
-DskipTests -Drat.skip=true
mvn clean validate -Pcheck-licenses
but error was the same.
your kind and urgent help in this regard will be highly appreciated.
cheers,
Bilal
0 Show 1
3条回复 · 添加您的回复
排序:
投票
创建
最老的
avatar image
最佳解答
个解答,截止Ayub Khan · 2016年11月01日 05:54
@bilal Arshad
This is usually due to temporary files in the project directory. Try deleting the temporary files/directories using below commands..
To remove directories, run git clean -f -d or git clean -fd
To remove ignored files, run git clean -f -X or git clean -fX
To remove ignored and non-ignored files, run git clean -f -x or git clean -fx
2 隐藏 2 · 分享
avatar imageAyub Khan · 2016年11月01日 14:44 1
@bilal Arshad Seems like tests are failing, can you provide the complete stack trace? or you can just skip integration tests using --DskipITs and try? thanks.
avatar imageBilal Arshad · 2016年11月01日 15:34 0
@ayub Khan thank you for the help. Skipping integration tests did work! :)
avatar image
个解答,截止anaik · 2016年12月12日 18:33
@bilal Arshad
Another way is to use the following cmdline param -Drat.numUnapprovedLicenses=100 (assuming that the workspace doesn't have more than 100 files that don't comply with ASF header check).
Can you please post the logs of the failures ?
2 · 分享
avatar image
个解答,截止Bilal Arshad · 2016年11月01日 14:23
Many thanks for your reply Ayub Khan.
I tried the commands mentioned above but got the following error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify (verify) on project atlas-webapp: There are test failures.
Kindly suggest other possible solutions.
Thanking you in anticipation.
Kind Regards
Bilal
配置private key
cat ~/.ssh/id_rsa.pub | ssh user@hostname 'cat >> .ssh/authorized_keys'
AmbariException: Current database store version is not compatible with current server version
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile-brunch) on project ambari-web: Command execution failed. Cannot run program "brunch"
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile-brunch) on project ambari-web: Command execution failed. Cannot run program "brunch"
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile-npm) on project ambari-web: Command execution failed. Cannot run program "npm" (in directory "/home/michael.wh/soft/ambari/apache-ambari-2.4.3-src/ambari-web"): error=2, No such file or directory -> [Help 1]
adding local repository
download these
http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.4.3.0/ambari-2.4.3.0-centos6.tar.gz
http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.4.3.0/HDP-2.4.3.0-centos6-rpm.tar.gz
http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6/HDP-UTILS-1.1.0.20-centos6.tar.gz
uppack ambari to /var/www/html
unpack HDP to /var/www/html/hdp
vi /etc/yum.repos.d/ambari.repo
[html] view plain copy
#VERSION_NUMBER=2.5.0.3-7
[ambari-2.5.0.3]
name=ambari Version - ambari-2.5.0.3
baseurl=http://11.239.178.32/ambari/centos6/
gpgcheck=0
gpgkey=http://11.239.178.32/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
HDP localhost, config on the web page.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.