Developing Frameworks for Apache Mesos Joe Stein CEO of Elodina - - PowerPoint PPT Presentation

developing frameworks for apache mesos joe stein
SMART_READER_LITE
LIVE PREVIEW

Developing Frameworks for Apache Mesos Joe Stein CEO of Elodina - - PowerPoint PPT Presentation

Developing Frameworks for Apache Mesos Joe Stein CEO of Elodina http://www.elodina.net/ a big data as a service platform built on top open source software. The Elodina platform enables customers to analyze data streams and programmatically


slide-1
SLIDE 1

Developing Frameworks for Apache Mesos

slide-2
SLIDE 2

Joe Stein

CEO of Elodina http://www.elodina.net/ a big data as a service platform built on top open source software. The Elodina platform enables customers to analyze data streams and programmatically react to the results in real-

  • time. We solve today’s data analytics needs by providing the tools and

support necessary to utilize open source technologies. As users, contributors and committers, Elodina also provides support for frameworks that run on Mesos including Apache Kafka, Exhibitor (Zookeeper), Apache Storm, Apache Cassandra and a whole lot more! LinkedIn: http://linkedin.com/in/charmalloc Twitter : @allthingshadoop

slide-3
SLIDE 3

◉ What goes on Mesos? ◉ Framework = (Scheduler + Executor) ◉ What does it look like without a scheduler? ◉ We can do better using a scheduler! ◉ Schedulers working together. ◉ Framework API & Examples.

Overview

slide-4
SLIDE 4

What goes on Mesos?

slide-5
SLIDE 5
slide-6
SLIDE 6

Many, many things

slide-7
SLIDE 7

Anything can be run on Mesos with Marathon or Aurora

https://mesosphere.github.io/marathon/ http://aurora.apache.org/

slide-8
SLIDE 8

Framework = (Scheduler + Executor)

slide-9
SLIDE 9
slide-10
SLIDE 10

Scheduler

slide-11
SLIDE 11

Executors

slide-12
SLIDE 12

mesos/kafka https://github.com/mesos/kafka

slide-13
SLIDE 13

What does it look like without a scheduler?

slide-14
SLIDE 14

without a scheduler

slide-15
SLIDE 15

without a scheduler

slide-16
SLIDE 16

without a scheduler

slide-17
SLIDE 17

without a scheduler

slide-18
SLIDE 18

without a scheduler

slide-19
SLIDE 19

We can do better using a scheduler

slide-20
SLIDE 20

with a scheduler

slide-21
SLIDE 21

with a scheduler

slide-22
SLIDE 22

with a scheduler

slide-23
SLIDE 23

with a scheduler

slide-24
SLIDE 24

with a scheduler

slide-25
SLIDE 25

Schedulers working together

slide-26
SLIDE 26
slide-27
SLIDE 27
slide-28
SLIDE 28
slide-29
SLIDE 29

Framework API & Examples

slide-30
SLIDE 30

Mesos Protos

https://github.com/apache/mesos/blob/master/include/mesos/mesos.proto Everything is good to understand but here is a good place to start ◉ FrameworkInfo ◉ TaskInfo ◉ TaskState ◉ MasterInfo ◉ SlaveInfo

slide-31
SLIDE 31

Mesos Framework Development Guide

http://mesos.apache.org/documentation/latest/app-framework-development-guide/ ◉ Scheduler API ○ registered, reregistered, disconnected ○ resourceOffers, offerRescinded, statusUpdate, frameworkMessage ○ slaveLost, executorLost, error ◉ Executor API ○ registered, reregistered, disconnected ○ launchTask, killTask, frameworkMessage

slide-32
SLIDE 32

Task Reconciliation http://mesos.apache.org/documentation/latest/reconciliation/ It is the responsibility of Mesos (scheduler driver / Master) to ensure that the framework is notified when a disconnection, and subsequent (re-)registration occurs. At this point, the scheduler should perform task state reconciliation.

slide-33
SLIDE 33

Language Bindings

◉ c++ → ○ https://github.com/apache/mesos/tree/master/src/examples ◉ python → ○ https://github.com/apache/mesos/tree/master/src/examples/python ○ https://github.com/wickman/pesos ◉ java → ○ https://github.com/apache/mesos/tree/master/src/examples/java ○ http://mesos.apache.org/api/latest/java/ ○ https://github.com/groupon/jesos ◉ go → ○ https://github.com/mesos/mesos-go ◉ clojure → ○ https://github.com/dgrnbrg/clj-mesos ○ https://github.com/pyr/mesomatic ◉ scala → ○ https://github.com/mesosphere/scala-sbt-mesos-framework.g8

slide-34
SLIDE 34

Rendler

A rendering web crawler for Apache Mesos. https://github.com/mesosphere/RENDLER

slide-35
SLIDE 35

Questions? Joe Stein http://www.elodina.net