Installing Myriad

Describes Myriad requirements and installation.

The following table specifies the Myriad installation requirements.

Table 1. Myriad Installation Requirements
Requirement Description
Operating Systems
  • RedHat/CentOS 6.2, 6.6, and 7.0
  • Ubuntu 14.04
Myriad Requirements
MapR Minimum Requirements
  • MapR Core
  • MapR Zookeeper
  • MapR CLDB
  • MapR FileServer
  • MapR Webserver

The following table specifies the ports used by Myriad.

Table 2. Ports Used
Application Port
Mesos Master UI http://<hostname>:5050
Marathon UI http://<hostname>:8080
Myriad UI http://<hostname>:8192
Note: The Myriad UI is available once a Resource Manager is launched.
Note: If your environment has both Marathon and Spark installed on the same node, a conflict occurs because the default port for both is 8080. To resolve this conflict, change the port for one of the applications.

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.