Giter VIP home page Giter VIP logo

yarnitor's Introduction

Yarnitor is a pluggable YARN monitoring API and web frontend.

Yarnitor screenshot

CircleCI

Requirements

Yarnitor relies on multiple processes, and is therefore best run using the provided Docker configuration. You install Docker on Windows, OSX, or Linux. You will also need install docker-compose. You'll specifically need:

  • docker>=1.10
  • docker-compose>=1.10

Configure

You must set two environment variables before starting yarnitor.

  1. Set YARN_ENDPOINT to the YARN application master URL.
  2. Set EXPOSED_PORT to the port on which yarnitor serve its UI.

For example:

export YARN_ENDPOINT=yarn-application-master.mydomain.tld:8088
export EXPOSED_PORT=8080

Run

To launch the yarnitor web app, background YARN polling process, and Redis in linked Docker containers, run the following:

docker-compose up

Develop

To run the yarnitor web app with debugging enabled, the background YARN polling process, and Redis in linked Docker containers for development, run the following:

make dev

If you don't have make, run what make would by hand instead:

docker-compose build
docker-compose run --rm \
    -e FLASK_APP=yarnitor \
    -e FLASK_DEBUG=1 \
    -p 5000:5000 \
    web \
    flask run -h 0.0.0.0

Test

To run tests in a the Flask container, execute the following:

make test

Or the long-hand equivalent:

docker-compose build
docker-compose run --rm web pytest

Credits

Nanumo Park created the Yarnitor logo.

yarnitor's People

Contributors

ericdill avatar parente avatar mariusvniekerk avatar

Watchers

James Cloos avatar Marshall Markham avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.