Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Launching the Myriad Environment

To launch Myriad, run the YARN daemon from the command line:

Code Block
yarn-daemon.sh start resourcemanager

 

Stopping Myriad

To shut down Myriad, run the YARN daemon from the command line:

Code Block
yarn-daemon.sh stop resourcemanager

 

Scaling

To scale up or down on specific nodes, see the Myriad Cluster API. The REST terms for scaling are flexup and flexdown. The HTTP method and URIs for flexing up and down are:

Code Block
PUT /api/cluster/flexup

PUT /api/cluster/flexdown

 

Monitoring

To monitor Myriad, see the Myriad State API and the Myriad Configuration API. The HTTP method and URIs for retrieving the Myriad state and configuration are:

The Myriad environment is established by running an initial application for the resource manager. This initial application name is specified in the yarn-site.xml file with the the yarn.resourcemanager.hostname property and the value, <app-ID>.<framework>.mesos.

For example, if the value of  yarn.resourcemanager.hostname property is rm.marathon.mesos:

  • rmThe ID given to the Resource Manager when launched using Marathon. Mesos-DNS constructs the Resource Manager hostname using the ID.
  • marathon - The Mesos framework

If you are using Marathon, launch Marathon and run an initial Resource Manager application. See Starting Resource Manager for more information.


Ports

The ports used by Mesos, Marathon, and Myriad are:

ApplicationPortSyntax
Marathon8080http://<IP address>:8080
Mesos5050http://<IP address>:5050. Use the 5050 port and Frameworks directory. For example: http://<IP address>:5050/#/frameworks (http://10.141.141.20:5050/#/frameworks)
Myriad8192

http://<IP address>:8192. For example: http://<IP address>:8192/ (http://10.141.141.20:8192/)

  • Without the Mesos-DNS service, this IP is slave node's IP address where the Resource Manager is running.
  • With the Mesos-DNS service, Mesos-DNS discovers the node where the Resource Manager is running by using Mesos DNS FQDN (<app-name>.<framework>.mesos).

 

 

...