The following example shows creating an instance of the Files View, name FILES, version view called "MyFiles".

Similar documents
IPTV Middleware ipad ManageMyTVs Application User Guide

administration access control A security feature that determines who can edit the configuration settings for a given Transmitter.

Autotask Integration Guide

Product Proposal. Digital Signage Solution. Provided By:

ManageMyTvs App for the ipadtm

User Guide. Best Seat Help Desk 24 hours a day/7 days a week

DETEXI Basic Configuration

Viewing Set-Top Box Data

Logic Controls LV3000 VGA Connected Virtual Pole Display

Speedway IPTV RDVR Web Client User Guide Version 1.3

EtherneTV-STB Set Top Box

User Guide. Best Seat Help Desk 24 hours a day/7 days a week

User s Manual. Network Board. Model No. WJ-HDB502

Crestron TPMC-4SM Fusion RV Interface Operations Guide

SAP Edge Services Edge Services Overview Guide Version 1711

IxStream Headend. Quick Guide - Begin working with the IxStream headend. IX-Streamer, rev 1.1

ViewCommander- NVR Version 3. User s Guide

ValuNet Android ManageMyTVs Application User Guide

SAT IF distribution system

SAP Edge Services, cloud edition Edge Services Overview Guide Version 1802

MultiQ Digital signage template system for widescreen monitors

Network Camera Operating Manual

Remote Application Update for the RCM33xx

Android ManageMyTVs Application User Guide Version 3.0

MOB501. SAP Omnichannel Banking 8.3 SP01 PL03 Development COURSE OUTLINE. Course Version: 03 Course Duration: 4 Day(s)

IP Broadcasting System. User manual

User Manual V2.6. Omniksol WIFIKIT User Manual. Omnik New Energy Co., Ltd.

ManageMyTVs App for AndroidTM

Kylone MicroCMS Installation & Setup Guide for TBS IPTV System V1.0

Device Management Requirements

Real-time interaction with television content

Encoder Modulator. IPTV Setup

5620 SAM SERVICE AWARE MANAGER 14.0 R8. Integration Guide

Shift Tool: Adding a Recurring Shift or Event

5620 SAM SERVICE AWARE MANAGER 14.0 R9. Integration Guide

CI-218 / CI-303 / CI430

Deltasoft Services M A N U A L LIBRARY MANAGEMENT. 1 P a g e SCHOOL MANAGEMENT SYSTEMS. Deltasoft. Services. User Manual. Aug 2013

QUICK START GUIDE QT ANALOG HD CAMERA & DVR BUNDLE ENGLISH

5620 SAM SERVICE AWARE MANAGER MPTGS Driver Version Guide

Melomics API Handbook

Raptor University. Raptor System Kiosk Training. Instructor: RAPTOR TECHNOLOGIES, LLC

Editing Your Reading List

Avigilon View Software Release Notes

Cisco StadiumVision Defining Channels and Channel Guides in SV Director

5620 SERVICE AWARE MANAGER. NTP Driver Version Guide

Digital Signage System User Guide

StreamServe Persuasion SP5 StreamServe Connect for SAP - Delivery Manager

Device Management Requirements

Software version TC7.1 APRIL Codec C40/C60. Administrator guide. For Cisco TelePresence System Codec C40/C60 and Profiles using C40/C60

OBS Studio Installation / Settings

VMware Pulse IoT Center 1.0 Release Notes

GANZ Bridge Powered by

Software version TC7.3 OCTOBER Codec C40/C60. Administrator guide. For Cisco TelePresence System Codec C40/C60 and Profiles using C40/C60

Matrox PowerStream Plus

ViewCommander-NVR. Version 6. User Guide

VS-TV. User manual. Virtual Matrix ENGLISH

NDL s Digital Collection and Service for Information Access

IPTV Administrator guide

CompactMax-2 DVB-S/S2 TO DVB-T2 TRANSMODULATOR - 0 MI2100 -

EdgeConnect Module Quick Start Guide ITERIS INNOVATION FOR BETTER MOBILITY

NX-series User Manual

This document contains the latest information about the new Polycom VS4000 TM model, running 5.1 software.

B. The specified product shall be manufactured by a firm whose quality system is in compliance with the I.S./ISO 9001/EN 29001, QUALITY SYSTEM.

Cablecast Server. Setup Guide. c Tightrope Media Systems For Cablecast version Build 74

Intelligent Monitoring Software IMZ-RS300. Series IMZ-RS301 IMZ-RS304 IMZ-RS309 IMZ-RS316 IMZ-RS332 IMZ-RS300C

Software version TC7.1 APRIL Administrator guide. for Cisco TelePresence System Codec C90 and Profile 65 Dual using C90

CA Outbound Dialer Module. Operation Manual v1.1

MOI-V Linux dvblast tvheadend VDR Operating Instructions

device manual Firmware version v

Change MeetingPlace Hold Music and "Welcome to MeetingPlace" Prompt and Jingle

Positive Attendance. Overview What is Positive Attendance? Who may use Positive Attendance? How does the Positive Attendance option work?

KEPServerEX IoTGateway to Azure IoT Hub. Initial Setup and Configuration

Part 1 Basic Operation

First Time Setup Guide

invr User s Guide Rev 1.4 (Aug. 2004)

Administrator guide. For Cisco TelePresence System Codec C60/C40 and Profiles using C60. Software version TC4.0 NOVEMBER 2010.

VMware Pulse IoT Center 1.1 Release Notes

ITU-T Y.4552/Y.2078 (02/2016) Application support models of the Internet of things

SELF STORAGE. Self Service Kiosks for. Always on Duty! 24 Hour Sales & Support Remote Monitoring Added Security

Pi-Star Setup: Connect the LAN cable and then power on the Pi.

CompactMax-4 DVB-S/S2 TO ISDB-T TRANSMODULATOR - 0 MI2101 -

Operating Guide. ViewClix offers a revolutionary experience for seniors and their families and friends.

Fibe TV Reference Guide

GV-3D People Counter 3DPCV10-A

Digital Video Recorder

AT&T U-verse Enabled. How to Use the TV UI API. Publication Date: September 9, 2014

MetaLib and Your Resources

TRAINING DOCUMENT LOS ANGELES UNIFIED SCHOOL DISTRICT (LAUSD) BELL SCHEDULING SYSTEM

A b o u t K i o s k s G u i d e. About Kiosks Guide. Copyright WhosOnLocation Limited

User Manual for ICP DAS WISE Monitoring IoT Kit -Microsoft Azure IoT Starter Kit-

Crescent Walls User Manual

Package spotsegmentation

Welcome to the U-verse App

Using electronic books / E-books

Using EndNote Web to Manage your References. Workbook

Remote Control/Cloud DVR Guide. Special Instructions INPUT:

How to watch US Netflix with PureVPN

Operations of ewelink APP

Network Video Decoder NVD-20. Contents

Milestone Solution Partner IT Infrastructure Components Certification Report

Transcription:

View API This section describes basic usage of the View REST API. Browse https://github.com/apache/ambari/blob/trunk/ambari-views/docs/index.md for detailed usage information and examples. Get List of Deployed Views Creating a View Instance: Files View Creating a View Instance: Capacity Scheduler View Get List of Deployed Views 1. Gets the list of all deployed views GET /api/v1/views Once you have a list of views, you can drill-into a view and see the available versions. GET /api/v1/views/files 3. You can go a level deeper and see more information about that specific version for the view, such as the parameters and the archive name, and a list of all instances of the view for that specific view version. GET /api/v1/views/files/versions/0.1.0 Creating a View Instance: Files View The following example shows creating an instance of the Files View, name FILES, version 0.1.0 view called "MyFiles". 1. Create the view instance. POST /api/v1/views/files/versions/0.1.0/instances/myfiles [ "ViewInstanceInfo" : "properties" : "dataworker.defaultfs" : "webhdfs://your.namenode.host:50070" ] 201 - CREATED When creating your view instance, be sure to provide all view instance properties, otherwise you will receive a 500 required with a message explaining the properties that are required. Restart Ambari Server to pick-up the view instance and UI resources.

ambari-server restart 3. Confirm the newly created view instance is available. GET /api/v1/views/files/versions/0.1.0 "http://c6401.ambari.apache.org:8080/api/v1/views/files/versions/0.1.0/", "ViewVersionInfo" : "archive" : "/var/lib/ambari-server/resources/views/work/files0.1.0", "label" : "Files", "masker_class" : null, "parameters" : [ "name" : "dataworker.defaultfs", "description" : "FileSystem URI",, "name" : "dataworker.username", "description" : "The username (defaults to ViewContext username)", "required" : false, ], "view_name" : "FILES", "permissions" : [ ], "instances" : [ "http://c6401.ambari.apache.org:8080/api/v1/views/files/versions/0.1.0/instances/ MyFiles", "ViewInstanceInfo" : "instance_name" : "MyFiles", "view_name" : "FILES" ] 4. Browse to the view instance directly. http://c6401.ambari.apache.org:8080/views/files/0.1.0/myfiles/ or http://c6401.ambari.apache.org:8080/#/main/views/files/0.1.0/myfiles

Creating a View Instance: Capacity Scheduler View The following example shows creating an instance of the Capacity Scheduler View, name CAPACITY-SCHEDULER, version 0.1.0 view called "CS_1", using the label "Capacity Scheduler". 1. Create the view instance. POST /api/v1/views/capacity-scheduler/versions/0.1.0/instances/cs_1 [ "ViewInstanceInfo" : "label" : "Capacity Scheduler", "properties" : "ambari.server.url" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/mycluster", "ambari.server.username" : "admin", "ambari.server.password" : "admin" ] 201 - CREATED When creating your view instance, be sure to provide all view instance properties, otherwise you will receive a 500 required with a message explaining the properties that are required. Restart Ambari Server to pick-up the view instance and UI resources. ambari-server restart 3. Confirm the newly created view instance is available.

GET /api/v1/views/capacity-scheduler/versions/0.1.0 "http://c6401.ambari.apache.org:8080/api/v1/views/capacity-scheduler/versions/0.1.0/", "ViewVersionInfo" : "archive" : "/var/lib/ambari-server/resources/views/work/capacity-scheduler0.1.0", "label" : "Capacity Scheduler", "masker_class" : null, "parameters" : [ "name" : "ambari.server.url", "description" : "Target Ambari Server REST API cluster URL (for example: http://ambari.server:8080/api/v1/clusters/c1)",, "name" : "ambari.server.username", "description" : "Target Ambari administrator username (for example: admin)",, "name" : "ambari.server.password", "description" : "Target Ambari administrator password (for example: admin)", ], "view_name" : "CAPACITY-SCHEDULER", "permissions" : [ ], "instances" : [ "http://c6401.ambari.apache.org:8080/api/v1/views/capacity-scheduler/versions/0.1.0/instances/cs_1", "ViewInstanceInfo" : "instance_name" : "CS_1", "view_name" : "CAPACITY-SCHEDULER" ] 4. Browse to the view instance directly.

http://c6401.ambari.apache.org:8080/views/capacity-scheduler/0.1.0/cs_1/ or http://c6401.ambari.apache.org:8080/#/main/views/capacity-scheduler/0.1.0/cs_1/