Support Questions
Find answers, ask questions, and share your expertise

How Can I Find Hbs files in Centos 6.5

Explorer

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

Accepted Solutions

Re: How Can I Find Hbs files in Centos 6.5

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

Re: How Can I Find Hbs files in Centos 6.5

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

Re: How Can I Find Hbs files in Centos 6.5

Explorer

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

Re: How Can I Find Hbs files in Centos 6.5

Hi @Ye Jun,

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