Home Forums Ambari Problem with adding Customized views

Tagged: 

This topic contains 4 replies, has 2 voices, and was last updated by  Lucas Liu 3 months, 3 weeks ago.

  • Creator
    Topic
  • #54989

    Lucas Liu
    Participant

    I’m trying to follow the steps from the views document to add customized views into Ambari. However, I failed to find the “views” folder in the specified directory: /var/lib/ambari-server/resources or in other directories, after trying on multiple machines with CentOS 6.5, running Ambari-server 1.5.0.14.
    Any suggestions on this issue?

    Thanks,
    Lucas

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #55267

    Lucas Liu
    Participant

    Thank you so much! Is this functionality going to be included in the next release?

    Collapse
    #55260

    Jeff Sposetti
    Moderator

    Browse to http://server:8080/#/experimental and click “views”. When you return to the Ambari Web page, you’ll see the Views icon in the upper-right, which provides a drop-down list of your deployed views.

    Collapse
    #55259

    Lucas Liu
    Participant

    Thank you for the clarification. I managed to upgrade Ambari to 1.6.0 and successfully deployed my customized view. Now, i’m able to access the webpage using some url: http://server:8080/views/name/version/INSTANCE_1/ .

    My next question is does the current Ambari web UI provide a channel to access all the customized views or is there any alternatives to manually typing in the urls to visit customized webpages?

    Thanks again!!

    Collapse
    #55065

    Jeff Sposetti
    Moderator

    Hi,

    You want to make sure you start with Ambari 1.6.0. That is when the first parts of the Views framework made it into a release:

    http://docs.hortonworks.com/HDPDocuments/Ambari-1.6.0.0/index.html

    You can look here for some pointers on the APIs:

    https://cwiki.apache.org/confluence/display/AMBARI/Views

    And then there are some examples:

    https://github.com/apache/ambari/tree/trunk/ambari-views/examples

    Thanks.

    Collapse
Viewing 4 replies - 1 through 4 (of 4 total)