Docker is the easiest way to from 0 to Yarn on Mesos within minutes.
#Configuration Guide#
In order for the ResourceManager to operate correctly, you will need to provide 5 configuration files. These files will need to mounted from a directory into ./myriad-etc
of this folder.
It is assumed you already have hdfs and Mesos running. For more information about Apache Mesos visit the website. If you need to setup hdfs, consider using the hdfs-mesos framework. Copy the hdfs.xml and core-site.xml from your hdfs configuration into myriad-etc. Additional, files maybe necessary such as rack.sh, log4j.properties, hadoop-env.sh, and yarn-env.sh depending on your configuration.
Run the following commands:
./gradlew -P username/myriad buildRMDocker docker push username/myriad
This will build the ResourceManager from src, save, and push the image as username/myriad.
docker run --net=host --name='myriad-resourcemanager' -t \ <username>/myriad
#Environment Variables#