Dipayan Bhowmick 1dbf7d4ef5 AMBARI-15045. NPE in ambari server log related tez view. (dipayanb) 9 年之前
..
src 1dbf7d4ef5 AMBARI-15045. NPE in ambari server log related tez view. (dipayanb) 9 年之前
pom.xml 8c972fc52f AMBARI-13426: Unable to build views after 4-digit version support (jluniya) 10 年之前
readme.md 8ced13165b AMBARI-10127. Sanitize view package names/versions. (yusaku) 10 年之前

readme.md

TEZ View

Description

This view provides a web interface for TEZ.

Requirements

  • Ambari 1.7.0
  • TEZ 0.6.0 or above

Build

The view can be built as a maven project.

mvn clean install

The build will produce the view archive.

target/tez-view-0.6.0-SNAPSHOT.jar

Configuration

For the UI to work as expected with all the required data, the following configurations must be set.

In tez-site.xml

  • tez.runtime.convert.user-payload.to.history-text Should be enabled to get the configuration options. If enabled, the config options are set as userpayload per input/output.

In yarn-site.xml

  • yarn.timeline-service.http-cross-origin.enabled Enable CORS in timeline.
  • yarn.resourcemanager.system-metrics-publisher.enabled Enable generic history service in timeline server
  • yarn.timeline-service.enabled Enabled the timeline server for logging details
  • yarn.timeline-service.webapp.address Value must be the IP:PORT on which timeline server is running

In configs.js

  • Visibility of table columns can be controlled using the column selector in the UI. Also an optional set of file system counters can be made visible as columns for most of the tables. For adding more counters refer configs.js.

Deploying the View

Use the Ambari Vagrant setup to create a cluster:

Deploy the TEZ view into Ambari.

cp tez-view-0.6.0-SNAPSHOT.jar /var/lib/ambari-server/resources/views/
ambari-server restart

From the Ambari Administration interface, create a TEZ view instance.

Property Value
Details: Instance Name TEZUI
Details: Display Name TEZ
Details: Description A web interface for TEZ
Properties: yarn.timeline-server.url http://yarn.timeline-service.hostname:8188
Properties: yarn.resourcemanager.url http://yarn.resourcemanager.hostname:8088

Login to Ambari as "admin" and browse to the view instance.

http://c6401.ambari.apache.org:8080/#/main/views/TEZ/0.6.0/TEZUI