Support Questions

Find answers, ask questions, and share your expertise

at which directory ambari installed

avatar
Explorer

I tried to install HDP using ambari.

At my computer, http://node1:8080/#/main works.

Actually I want to see the real page that the site address works.

Becuase I have to modify pages.

At which directory, I can see the pages.

If anybody knows that, please tell me. Thanks.

1 ACCEPTED SOLUTION

avatar

@jarhyeon cho

Ambari UI is an angular app that uses the REST API on Ambari Server. The ui code (app.js) is here - /usr/lib/ambari-server/web/javascripts

[root@sandbox javascripts]# pwd
/usr/lib/ambari-server/web/javascripts
[root@sandbox javascripts]# ls
app.js.gz  vendor.js.gz
[root@sandbox javascripts]# 

View solution in original post

3 REPLIES 3

avatar
Super Collaborator

I guess this is what you are looking for:

/usr/lib/ambari-server/web

You can see all the properties at /etc/ambari-server/conf/ambari.properties

avatar

@jarhyeon cho

Ambari UI is an angular app that uses the REST API on Ambari Server. The ui code (app.js) is here - /usr/lib/ambari-server/web/javascripts

[root@sandbox javascripts]# pwd
/usr/lib/ambari-server/web/javascripts
[root@sandbox javascripts]# ls
app.js.gz  vendor.js.gz
[root@sandbox javascripts]# 

avatar

Just to add to that.. if you want to make change, it would be easier for you to follow the code by looking at the source here - https://github.com/apache/ambari/

The ui code is here - https://github.com/apache/ambari/tree/trunk/ambari-web/app

You can just fork the project and build it after making changes.