...
Note |
---|
If you are interested in using Eclipse, there is a plugin for that. Either send in a pull request, or send a message on the dev mail list that you would make use of it. |
Modifying Myriad Configuration
Myriad configuration parameters must be specified before building Myriad. These configuration parameters are specified in the the myriad-config-default.yml file in the $PROJECT_HOME/myriad-scheduler/src/main directory. This is required because the myriad-config-default.yml file is embedded into the Myriad Scheduler jar. As a minimum, the following Myriad configuration parameters must be set:
- mesosMaster
- zkServers
- YARN_HOME
Note |
---|
Enabling Cgroups involves modifying the yarn-site.xml and myriad-config-default.yml files. If you plan on using Cgroups, you could set that property at this time. See Configuring Cgroups for more information. |
...
Step 1: Build Myriad
To build Myriad (both Myriad Scheduler and Executor), from the $PROJECT_HOME, run:
...
Code Block | ||
---|---|---|
| ||
./gradlew build |
...
Step 2: Deploy Myriad
To deploy Myriad Scheduler and Executor, copy the Myriad Scheduler and Executor jar files and the Myriad configuration file, myriad-config-default.yml, into your YARN classpath:
...
Note |
---|
For advanced users, you can also copy myriad-executor-xxx.jar to any other directory on a slave filesystem or it can be copied to HDFS as well. In either case, you need to update the executor's path property in the myriad-config-default.yml file and prepend the path with either file:// or hdfs://, as appropriate. |
Step 3: Modify Myriad Configuration
Myriad configuration parameters must be specified before building Myriad. These configuration parameters are specified in the the myriad-config-default.yml file in the $PROJECT_HOME/myriad-scheduler/src/main directory. This is required because the myriad-config-default.yml file is embedded into the Myriad Scheduler jar. As a minimum, the following Myriad configuration parameters must be set:
- mesosMaster
- zkServers
- YARN_HOME
Note |
---|
Enabling Cgroups involves modifying the yarn-site.xml and myriad-config-default.yml files. If you plan on using Cgroups, you could set that property at this time. See Configuring Cgroups for more information. |
Step 4: Configure YARN
In order to run Myriad, the following YARN properties must be modified:
...