Versions Compared

Key

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

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-name>.<framework>.mesos.

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

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

  • marathon - The Myriad framework.

If you are using Marathon, launch Marathon and run an initial Resource Manager application. The Resource Manager can be launched or stopped from either the command line or the Marathon UI. 

 

Table of Contents

Launching from the Command Line

...

Alternatively, when launching the Resource Manager in an HA environment, specify value for the yarn.resourcemanager.hostname property. The hostname is the ID field specified when launching a Marathon application. 

To Start initially launch the Resource Manager from Marathon:

...

For example

ParameterExample ValueDescription

ID

rm

The ID for the Resource Manager when launched using Marathon. Mesos-DNS constructs the Resource Manager hostname using the ID.

CPU

0.2

Amount of CPU allocated.

Memory

2048

Amount of memory allocated

Instances

1

Number of instances to be launched.

Command

env && && yarn resourcemanager

 

...

Command to launch the resource manager.
Note

If the yarn.resourcemanager.hostname property is not specified in the yarn-site.xml file, then the -DYARN_RESOURCEMANAGER_OPTS option must be specified.

...