Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevints/mesos-framework-api
Pure-JVM implementation of the Mesos Framework API (Work In Progress)
https://github.com/kevints/mesos-framework-api
Last synced: 3 months ago
JSON representation
Pure-JVM implementation of the Mesos Framework API (Work In Progress)
- Host: GitHub
- URL: https://github.com/kevints/mesos-framework-api
- Owner: kevints
- License: apache-2.0
- Created: 2014-04-14T05:16:36.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-19T01:14:44.000Z (almost 10 years ago)
- Last Synced: 2024-01-20T03:08:27.976Z (5 months ago)
- Language: Java
- Homepage:
- Size: 420 KB
- Stars: 14
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-mesos - Framework API - Pure JVM (Language Bindings / Experimental/Example/Unsorted)
README
A pure-JVM implementation of the Mesos framework API
(SchedulerDriver+Scheduler and ExecutorDriver+Executor).NOTE: This code relies on undocumented internal Mesos APIs and is
only intended as a proof of concept.Dependencies
============```
$ protoc --version
libprotoc 2.5.0% java -version
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf8
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
```Running the unit tests
======================
```
$ git clone https://github.com/kevints/mesos-framework-api
$ cd mesos-framework-api
$ ./gradlew build
```Running the test tool
=====================Build mesos
-----------
```
$ git clone https://github.com/apache/mesos
$ cd mesos
$ ./bootstrap
$ ./configure
$ make
```Run a mesos master
------------------
```
$ cd mesos
$ ./bin/mesos-master.sh --registry=in_memory --ip=127.0.0.1 --port=5050 --authenticate --credentials=<(echo "test pass")
```Run a mesos slave
-----------------
```
$ cd mesos
$ ./bin/mesos-slave.sh --master=127.0.0.1:5050
```Run the demo framework
----------------------
```
$ cd mesos-framework-api
$ ./gradlew run
```
The demo framework authenticates, registers, and launches hello world tasks.TODO
====
* Mesos master discovery via ZooKeeper