|
@@ -67,7 +67,13 @@ Most of the failover functionality is tunable using various configuration proper
|
|
| `yarn.resourcemanager.zk-address` | Address of the ZK-quorum. Used both for the state-store and embedded leader-election. |
|
|
| `yarn.resourcemanager.zk-address` | Address of the ZK-quorum. Used both for the state-store and embedded leader-election. |
|
|
| `yarn.resourcemanager.ha.enabled` | Enable RM HA. |
|
|
| `yarn.resourcemanager.ha.enabled` | Enable RM HA. |
|
|
| `yarn.resourcemanager.ha.rm-ids` | List of logical IDs for the RMs. e.g., "rm1,rm2". |
|
|
| `yarn.resourcemanager.ha.rm-ids` | List of logical IDs for the RMs. e.g., "rm1,rm2". |
|
|
-| `yarn.resourcemanager.hostname.*rm-id*` | For each *rm-id*, specify the hostname the RM corresponds to. Alternately, one could set each of the RM's service addresses. |
|
|
|
|
|
|
+| `yarn.resourcemanager.hostname.`*rm-id* | For each *rm-id*, specify the hostname the RM corresponds to. Alternately, one could set each of the RM's service addresses. |
|
|
|
|
+| `yarn.resourcemanager.address.`*rm-id* | For each *rm-id*, specify host:port for clients to submit jobs. If set, overrides the hostname set in `yarn.resourcemanager.hostname.`*rm-id*. |
|
|
|
|
+| `yarn.resourcemanager.scheduler.address.`*rm-id* | For each *rm-id*, specify scheduler host:port for ApplicationMasters to obtain resources. If set, overrides the hostname set in `yarn.resourcemanager.hostname.`*rm-id*. |
|
|
|
|
+| `yarn.resourcemanager.resource-tracker.address.`*rm-id* | For each *rm-id*, specify host:port for NodeManagers to connect. If set, overrides the hostname set in `yarn.resourcemanager.hostname.`*rm-id*. |
|
|
|
|
+| `yarn.resourcemanager.admin.address.`*rm-id* | For each *rm-id*, specify host:port for administrative commands. If set, overrides the hostname set in `yarn.resourcemanager.hostname.`*rm-id*. |
|
|
|
|
+| `yarn.resourcemanager.webapp.address.`*rm-id* | For each *rm-id*, specify host:port of the RM web application corresponds to. You do not need this if you set `yarn.http.policy` to `HTTPS_ONLY`. If set, overrides the hostname set in `yarn.resourcemanager.hostname.`*rm-id*. |
|
|
|
|
+| `yarn.resourcemanager.webapp.https.address.`*rm-id* | For each *rm-id*, specify host:port of the RM https web application corresponds to. You do not need this if you set `yarn.http.policy` to `HTTP_ONLY`. If set, overrides the hostname set in `yarn.resourcemanager.hostname.`*rm-id*. |
|
|
| `yarn.resourcemanager.ha.id` | Identifies the RM in the ensemble. This is optional; however, if set, admins have to ensure that all the RMs have their own IDs in the config. |
|
|
| `yarn.resourcemanager.ha.id` | Identifies the RM in the ensemble. This is optional; however, if set, admins have to ensure that all the RMs have their own IDs in the config. |
|
|
| `yarn.resourcemanager.ha.automatic-failover.enabled` | Enable automatic failover; By default, it is enabled only when HA is enabled. |
|
|
| `yarn.resourcemanager.ha.automatic-failover.enabled` | Enable automatic failover; By default, it is enabled only when HA is enabled. |
|
|
| `yarn.resourcemanager.ha.automatic-failover.embedded` | Use embedded leader-elector to pick the Active RM, when automatic failover is enabled. By default, it is enabled only when HA is enabled. |
|
|
| `yarn.resourcemanager.ha.automatic-failover.embedded` | Use embedded leader-elector to pick the Active RM, when automatic failover is enabled. By default, it is enabled only when HA is enabled. |
|
|
@@ -104,6 +110,14 @@ Here is the sample of minimal setup for RM failover.
|
|
<name>yarn.resourcemanager.hostname.rm2</name>
|
|
<name>yarn.resourcemanager.hostname.rm2</name>
|
|
<value>master2</value>
|
|
<value>master2</value>
|
|
</property>
|
|
</property>
|
|
|
|
+<property>
|
|
|
|
+ <name>yarn.resourcemanager.webapp.address.rm1</name>
|
|
|
|
+ <value>master1:8088</value>
|
|
|
|
+</property>
|
|
|
|
+<property>
|
|
|
|
+ <name>yarn.resourcemanager.webapp.address.rm2</name>
|
|
|
|
+ <value>master2:8088</value>
|
|
|
|
+</property>
|
|
<property>
|
|
<property>
|
|
<name>yarn.resourcemanager.zk-address</name>
|
|
<name>yarn.resourcemanager.zk-address</name>
|
|
<value>zk1:2181,zk2:2181,zk3:2181</value>
|
|
<value>zk1:2181,zk2:2181,zk3:2181</value>
|