tree: afd5736264e112c5dd8fb6d71b072086692e6410 [path history] [tgz]
  1. myriad-bin/
  2. myriad-etc/
  3. build-myriad.sh
  4. build.gradle
  5. docker-compose.yml
  6. Dockerfile
  7. README.md
docker/README.md

Using Myriad with Docker

Docker is the easiest way to from 0 to Yarn on Mesos within minutes.

Building the Resource Manager Docker

#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.

Running the Resource Manager Docker

docker run --net=host --name='myriad-resourcemanager' -t \
  <username>/myriad

#Environment Variables#

  • ALTERNATE_HADOOP_URL : Optional - Allows user to override the hadoop distribution used by Myriad. This will download the *.tar.gz file to be used as the hadoop distribution of choice for Myriad.