Install Myriad

The Myriad installation is a manual installation where the Mesosphere repository is installed before the MapR Mesos and Myriad packages.
  1. Add the Mesosphere repository to each node in the cluster:
    Note: When installing the MapR packages for Mesos and Myriad, do not use the rpm -ivh command to install these packages because the dependencies do not get installed.
    On RedHat6 / CentOS6
    sudo rpm -Uvh http://repos.mesosphere.io/el/6/noarch/RPMS/mesosphere-el-repo-6-2.noarch.rpm
    On RedHat7 / CentOS7
    sudo rpm -Uvhhttp://repos.mesosphere.io/el/7/noarch/RPMS/mesosphere-el-repo-7-1.noarch.rpm
    On Ubuntu
    Setup:
    sudo apt-key adv 
    --keyserver keyserver.ubuntu.com 
    --recv E56151BF DISTRO=$(lsb_release -is | tr '[:upper:]' '[:lower:]')
    CODENAME=$(lsb_release -cs)
    Add the repository:
    
    echo "deb http://repos.mesosphere.io/${DISTRO} ${CODENAME} main" | sudo tee /etc/apt/sources.list.d/mesosphere.list
    sudo apt-get -y update
                                    
    Note: On Ubuntu, it is recommended that you install Marathon version 0.10.1 for Java 7 compatibility. The latest Marathon version (0.11 and later) only supports Java 8. For example, apt-get install marathon=0.10.1-1.0.416.ubuntu1404
  2. On the Mesos master node, install (as a minimum) the following MapR Mesos and Myriad packages:
    
    mapr-core 
    mapr-fileserver 
    mapr-cldb 
    mapr-webserver 
    mapr-mesos-slave 
    mapr-mesos-master 
    mapr-mesos-marathon 
    mapr-myriad-executor 
    mapr-myriad-scheduler 
                    
    On RedHat / CentOS
    yum -nogpgcheck install <package> <package>  ...
    On Ubuntu
    apt-get install  <package> <package> ...
  3. Install MapR Zookeeper on its master node:
    The MapR mapr-zookeeper package can be installed on any node that is designated as its master. For example, on the Mesos master node:
    mapr-zookeeper
  4. (optional) Install Mesos-DNS on its master node:
    The Mesos-DNS mapr-mesos-dns package can be installed on any node that is designated as its master. For example, on the Mesos master node:
    mapr-mesos-dns
  5. On the Mesos slave nodes, install (as a minimum) the following MapR Mesos and Myriad packages:
    
    mapr-core 
    mapr-fileserver 
    mapr-mesos-slave 
    mapr-myriad-executor 
    mapr-myriad-scheduler 
                        

Small Cluster Installation

The following example shows an installation on a CentOS6 operating system, a three (3) node cluster where one node is the master node for Mesos, Mesos-DNS, MaprR CLDB, and MapR Zookeeper, and two nodes are Mesos slave nodes.

On the master node, add the Mesosphere repository and install the following packages:


sudo rpm -Uvh http://repos.mesosphere.io/el/6/noarch/RPMS/mesosphere-el-repo-6-2.noarch.rpm

yum -nogpgcheck install
mapr-core mapr-fileserver mapr-zookeeper mapr-cldb mapr-webserver 
mapr-mesos-dns mapr-mesos-slave mapr-mesos-master mapr-mesos-marathon mapr-myriad-executor mapr-myriad-scheduler 
            

On two slave nodes, add the Mesosphere repository and install the following packages:


sudo rpm -Uvh http://repos.mesosphere.io/el/6/noarch/RPMS/mesosphere-el-repo-6-2.noarch.rpm

yum -nogpgcheck install
mapr-core mapr-fileserver mapr-mesos-slave mapr-myriad-executor mapr-myriad-scheduler
            

See Configure Myriad.