THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
<!-- HA configuration properties --> <property> <name>yarn.resourcemanager.store.class</name> <value>org.apache.hadoop.yarn.server.resourcemanager.recovery.MyriadFileSystemRMStateStore</value> </property> <property> <name>yarn.resourcemanager.fs.state-store.uri</name> <!-- Path on HDFS, MapRFS etc --> <value>/var/mapr/cluster/yarn/rm/system</value> </property> <property> <name>yarn.resourcemanager.recovery.enabled</name> <value>true</value> </property> <!-- If using MapR distro <property> <name>yarn.resourcemanager.ha.custom-ha-enabled</name> <value>false</value> </property> --> |
Launching Resource Manager
Launch the Resource Manager using Marathon. When launching, specify the yarn.resourcemanager.hostname
property. The hostname is the ID field specified when launching a Marathon application.
Code Block |
---|
env && export YARN_RESOURCEMANAGER_OPTS=-Dyarn.resourcemanager.hostname=rmapp.marathon.mesos && yarn resourcemanager |
Note |
---|
Some applications might require the |