If you have MapR, you must set the
yarn.resourcemanager.hostname property in
yarn-site.xml to the fully-qualified domain name
(FQDN) of your YARN ResourceManager.
Note: This procedure isn't required if you have CDH or HDP.
The
property is set to 0.0.0.0 by default. To update it, run the following command
on the machine hosting MCS:
/opt/mapr/server/configure.sh -C <cldb_host>[:<cldb_port>][,<cldb_host>[:<cldb_port>]...]
-Z <zk_host>[:<zk_port>][,<zk_host>[:<zk_port>]...] [-RM <rm_host>] [-HS <hs_host>] [-L <logfile>]
[-N <cluster_name>]
Where:
- <cldb_host> and
<cldb_port> are the FQDNs and ports of your
container location database (CLDB) nodes
- <zk_host> and
<zk_port> are the FQDNs and ports of your
ZooKeeper nodes
- <rm_host> is
the FQDN of your ResourceManager
- <hs_host> is
the FQDN of your HistoryServer
- <logfile> is
the log file
configure.sh will write to
- <cluster_name>
is the name of your MapR cluster
For more information on updating node configuration, see
configure.sh in MapR's documentation.