Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Ambari environment setup and debugging

avatar
Contributor

I want to set up development environment with ambari source code so i can try to debug and also contribute.

How can i go about doing the setup?

1 ACCEPTED SOLUTION

avatar

Try this page for various wiki on setting up the environment and committing your code.

https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development

View solution in original post

2 REPLIES 2

avatar

Try this page for various wiki on setting up the environment and committing your code.

https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development

avatar

@Ramesh Prasad

Some more suggestions

1) For JS code use :WebStorm ( you will get EAP version from official website with 30 days trial)

2) Remember to use Coding guidelines as mentioned here

https://cwiki.apache.org/confluence/display/AMBARI/Coding+Guidelines+for+Ambari

3) when you are running the project always skip rat checks or it might fail in most of cases and takes lot of time:

mvn clean install package -Dmaven.test.skip=true -Drat.skip -DskipTests

4) if you are changing only client side changes( Javascript in ambari-web folder ) , you can only run the project on ambari-web folder using the abouve command and the output will be generated on ambari/ambari/ambari-web/public/javascripts folder

you can copy that for debbuging in your server folder /usr/lib/ambari-server/web/javascripts