Enabling ZooKeeper Based State Store
About this task
Procedure
-
Set the value of
yarn.resourcemanager.store.class
toorg.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore
in the yarn-site.xml. -
Set the value of
yarn.resourcemanager.zk-address
to a comma-separated list of host:port pairs for each ZooKeeper server used by the ResourceManager. This property needs to be set in yarn-site.xml.