GitXplorerGitXplorer
k

mesos-framework-api

public
14 stars
3 forks
0 issues

Commits

List of commits on branch master.
Unverified
793bf494e22194d2fdac83bbb8fcdce7bfbf7b1f

Update README.md

kkevints committed 10 years ago
Unverified
84d1cdecd61428ebabfbfbf4c3ae6d28d3e1f590

Update README.md

kkevints committed 10 years ago
Unverified
611dd0ab975e1a9dce51bfd5e0f370e467d6f409

Update README

kkevints committed 10 years ago
Unverified
5886aa16717b5c0193abd3aab363c3430aa22896

Remove wip master resolver

kkevints committed 10 years ago
Unverified
642e85de6d5790ec3bca80a5edac6cef003d55e9

wip ZookeeperMasterResolver

kkevints committed 10 years ago
Unverified
b6d1a2973e641389e3d6615db7a1ff2d7308d930

Version check in protobuf plugin

kkevints committed 10 years ago

README

The README file for this repository.

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