Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 12-28-2018 08:32 AM
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
Created 12-28-2018 09:11 AM
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.
Created 12-28-2018 09:11 AM
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.
Created 12-28-2018 09:21 AM
Thanks,I found it in the app.js file.
Created 12-28-2018 10:27 AM
Hi @Ye Jun,
Can you please login and accept this answer if it helped you