-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-Version bump 0.2.0 -Update Docs -Update Sample Configuration -Minor changes to docker scripts Pull Request: Closes: #72
- Loading branch information
darinj
authored and
darinj
committed
May 12, 2016
1 parent
12a679c
commit 0487276
Showing
13 changed files
with
115 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,12 +22,17 @@ | |
FROM debian | ||
MAINTAINER Apache Myriad [email protected] | ||
|
||
ENV HADOOP_USER="yarn" | ||
ENV YARN_USER="yarn" | ||
ENV YARN_UID="108" | ||
ENV HADOOP_GROUP="hadoop" | ||
ENV HADOOP_GID="112" | ||
ENV YARN_GROUP="yarn" | ||
ENV YARN_GID="113" | ||
ENV HADOOP_VER="2.7.0" | ||
ENV HADOOP_HOME=/usr/local/hadoop | ||
ENV JAVA_HOME=/usr | ||
ENV MESOS_NATIVE_LIBRARY=/usr/local/lib/libmesos.so | ||
|
||
ENV MESOS_VER=0.28.1 | ||
|
||
# Setup mesosphere repositories | ||
RUN apt-get -y update | ||
|
@@ -37,7 +42,7 @@ RUN DISTRO=$(lsb_release -is | tr '[:upper:]' '[:lower:]') CODENAME=$(lsb_releas | |
RUN apt-get -y update | ||
|
||
# Install Mesos | ||
RUN apt-get install -y mesos curl tar | ||
RUN apt-get install -y mesos=`apt-cache madison mesos | grep $MESOS_VER | head -1 | awk {'print $3'}` curl tar | ||
# Run local YARN install | ||
ADD myriad-bin/install-yarn.sh /install-yarn.sh | ||
RUN sh /install-yarn.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Myriad Multi-tenacy | ||
|
||
Myriad supports multi-tenancy in the following ways: | ||
- Myriad uses Mesos to assign ports for the Node Managers. This means if to Node Managers run on the same host, they will both be able to | ||
bind to a port and communicate | ||
- Myriad provides mechanisms to distribute the hadoop binaries and configurations using [tarballs](https://github.com/apache/incubator-myriad/blob/master/docs/myriad-remote-distribution-configuration.md) or [Docker](https://github.com/apache/incubator-myriad/blob/master/docker/README.md). | ||
|
||
This means it's entirely possible to run multiple Myriad Clusters on the same hardware. One potential issue to be aware of however is it | ||
is often important when configuring yarn to use multiple directories. If one needs to do this one should be careful and not use the directories | ||
for to different Myriad frameworks. |
Oops, something went wrong.