roboxue / YarnVision

UI for Hadoop Resource Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yarn Vision

Hadoop Web API UI

Yarn Vision is a UI wrapper for hadoop resource manager API. It provides you a friendly way to browse, filter, kill you yarn applications in one place. Further more, it provides bookmark-able deep link so that you can save your application filters for later use

Prerequiste

You need to have your yarn's resource manager deployed, and execute YarnVision code on a machine that can reach your resource manager

How to run locally

  1. Install Node.js and npm
  2. Checkout this repo to a folder like YarnVision
  3. run npm install && npm run build
  4. run server.js and provide (a list of) address of your resource manager in the commandline arguments, like node server.js http://my-yarn-resourcemanager.location:<port> http://my-other-yarn-resourcemanager.location:<port>
  5. open http://localhost:3000

Use with docker

  • docker pull roboxue/yarn_vision:latest
  • docker run -p 8000:3000 -d roboxue/yarn_vision:latest http://my-yarn-resourcemanager.location:<port> then open a browser and point to the port 8000 of your docker host

Dev setup

  • start backend on port 3000: node server.js
  • start frontend on port 8080: npm run dev
  • any change in frontend (src/ folder) will be reflected on port 8080
  • any change in backend will be reflected on port 3000
  • changes in frontend will be reflected on port 3000 after executing npm run build

Update version

  • `npm version major/minor/patch

About

UI for Hadoop Resource Manager

License:Apache License 2.0


Languages

Language:Vue 49.9%Language:JavaScript 48.4%Language:HTML 1.2%Language:Shell 0.5%