Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Ambari environment setup and debugging

avatar
New Member

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