GithubHelp home page GithubHelp logo

dataflow-monitor's Introduction

build status coverage report

Usage

For now we only support a single node setup

Requirements:

  • Flink 1.4.2
  • Scala >=2.11 (tested for 2.11)
  • sbt
  • gurobi (for the optimizer only)

Building

Build everything with:

sbt clean assembly

Run the monitor with

sbt monitor/run

Or use the short-hand

sbt "monitor/runMain berlin.bbdc.inet.mera.monitor.Starter"

Configuring Flink

Before using the monitor, your version of Flink first has to be instrumented.

  1. Execute the following commands

     cd flink-reporter
     sbt assembly
    
  2. Copy the resulting jar to the lib/ folder of your Flink deployment.

     cp target/scala-2.11/flink-reporter-assembly-0.1.jar $FLINK_PATH/lib
    
  3. Add the following entries to your flink-config:

     cat <<EOF >> $FLINK_PATH/conf/flink-conf.yaml
     metrics.reporters: monitor
     metrics.reporter.monitor.class: berlin.bbdc.inet.mera.reporter.FlinkMetricPusher
     metrics.reporter.monitor.interval: 500 MILLISECONDS
     EOF 
    

Running the monitor

We assume that Flink is co-located with the monitor and its jobmanager is reachable through localhost.

As a prerequisite of the optimizer Gurobi has to be installed.

Get it here:

Then you can start the monitor either via

cd flink-monitor/
sbt run 

Or

sbt assembly
java -cp "target/scala-2.11/mera-assembly-0.2.jar:lib/gurobi.jar" berlin.bbdc.inet.mera.server.Starter

Running the WebUI

After running the "sbt run" simply go to

http://localhost:12345

To see a running LinePlot a first Metric has to be initialized.

dataflow-monitor's People

Contributors

davidherzogtu-berlin avatar kai-chi avatar

Watchers

 avatar

dataflow-monitor's Issues

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.