Support Questions

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

How Can I Find Hbs files in Centos 6.5

avatar
Contributor

Hi I am installed HDP 2.6 in Centos 6.5 .Now I want to find where is the ambari-web templates hbs files ? can some one help here is great apprciated

1 ACCEPTED SOLUTION

avatar

Hi @Ye Jun,

the template hbs files will be bundled to app.js while the web code is build and will be located on /usr/lib/ambari-server/web/javascripts folder .

If you want to edit the ambari-web template hbs file, you might need to download the code from apache ambari, and build the app.js referring to : https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development for corresponding ambari branch and then deploy the builded app.js in abouve folder.

Please see if this helps.

Please accept this answer if it did.

View solution in original post

3 REPLIES 3

avatar

Hi @Ye Jun,

the template hbs files will be bundled to app.js while the web code is build and will be located on /usr/lib/ambari-server/web/javascripts folder .

If you want to edit the ambari-web template hbs file, you might need to download the code from apache ambari, and build the app.js referring to : https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development for corresponding ambari branch and then deploy the builded app.js in abouve folder.

Please see if this helps.

Please accept this answer if it did.

avatar
Contributor

Thanks,I found it in the app.js file.

avatar

Hi @Ye Jun,

Can you please login and accept this answer if it helped you