tree: f0e2025573db45af266210b77fba03d47fcf72c9 [path history] [tgz]
  1. app/
  2. blueprints/
  3. config/
  4. public/
  5. tests/
  6. WEB-INF/
  7. .bowerrc
  8. .editorconfig
  9. .ember-cli
  10. .gitignore
  11. .jshintrc
  12. .watchmanconfig
  13. bower-shrinkwrap.json
  14. bower.json
  15. ember-cli-build.js
  16. package.json
  17. README.md
  18. testem.json
  19. yarn.lock
tez-ui/src/main/webapp/README.md

Tez-ui

The Tez UI is an ember based web-app that provides visualization of Tez applications running on the Apache Hadoop YARN framework.

For more information on Tez and the Tez UI - Check the Tez homepage.

Configurations

  • By default timeline is expected at localhost:8188 & RM at localhost:8088
  • You can point the UI to custom locations by setting the environment variables in src/main/webapp/config/configs.js

Development

All the following commands must be run inside src/main/webapp.

Prerequisites

You will need the following things properly installed on your computer.

  • Install Yarn v0.21.3
  • Install Bower v1.7.7
  • Install all dependencies by running yarn install & bower install

Running UI

Running Tests

  • yarn test

Building

  • yarn run build (production)
  • Files would be stored in “dist/”

Adding new dependencies

Warning: Do not edit the package.json or bower.json files manually. This could make them out-of-sync with the respective lock or shrinkwrap files.

Tez UI has replaced NPM with Yarn package manager. And hence Yarn would be used to manage dependencies defined in package.json.

  • Please use the Yarn and Bower command-line tools to add new dependencies. And the tool version must be same as those defined in Prerequisites section.
  • Once any dependency is added:
    • If it's in package.json. Make sure that the respective, and only those changes are reflected in yarn.lock file.
    • If it's in bower.json. Make sure that the respective, and only those changes are reflected in bower-shrinkwrap.json file.
  • Commands to add using CLI tools:
    • Yarn: yarn add [package-name]
    • Bower: bower install --save [package-name]

Adding new routes (pages), controllers, components etc.

  • Use ember-cli blueprint generator - Ember CLI