Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oscarfmdc/myriad-decoupled


https://github.com/oscarfmdc/myriad-decoupled

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

        

# Apache Mesos Framework Example

This is an example for a simple Apache Mesos Framework

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

### Prerequisites

This code is ready to run in the vagrant environment setup that can be found here:
https://github.com/apache/incubator-myriad/tree/master/vagrant/libvirt/mesos

### Installing

```

./gradlew clean :yarn-decoupling:build -x checkstyleMain -x findbugsMain

sshpass -p 'vagrant' scp yarn-decoupling/run-framework-myriad.sh [email protected]:/home/vagrant

sshpass -p 'vagrant' scp yarn-decoupling/run-executor-myriad.cmd [email protected]:/home/vagrant

for i in 84 131 167 150 208; do sshpass -p 'vagrant' scp yarn-decoupling/build/libs/yarn-decoupling.jar [email protected].$i:/tmp; done

vagrant ssh mesos-m1

sh run-framework-myriad.sh mesos-m1 run-executor-myriad.cmd
```

```
./gradlew clean build -x checkstyleMain -x findbugsMain

scp yarn-decoupling/run-framework-myriad.sh [email protected]:/root
scp yarn-decoupling/build/libs/yarn-decoupling.jar [email protected]:/tmp
scp yarn-decoupling/src/main/resources/myriad.properties [email protected]:/root

ssh fedora-mesos-m0.node.keedio.cloud

sh run-framework-myriad.sh fedora-mesos-m0.node.keedio.cloud myriad.properties
```

### Testing

```
export JAVA_HOME=/usr
./yarn jar ../../hadoop-mapreduce-examples-2.7.7.jar pi 16 1000
```

Apache Mesos UI: http://100.0.10.101:5050
Yarn UI: http://100.0.10.10x:8088

## Built With

* [Gradle](https://gradle.org/) - Dependency Management

## Acknowledgments

* https://github.com/opencredo/mesos_framework_demo