Describes the configuration of the data-fabric state store.
By default, the Resource Manager stores its state in the data-fabric filesystem. However, you can
change the values for the following properties related to the data-fabric filesystem state
store:
-
To
configure the URI to the state store location:
Set the value of yarn.resourcemanager.fs.state-store.uri in the
yarn-site.xml file. The value defaults to the ResourceManager
volume (/var/mapr/cluster/yarn/rm/system).
-
To configure the retry policy used by the state store client to connect with data-fabric file
system:
Set the value of
yarn.resourcemanager.fs.state-store.retry-policy-spec in the
yarn-site.xml file. The value defaults to (2000,500).
-
To configure the number of completed applications retained by the state store:
Set the value of
yarn.resourcemanager.state-store.max-completed-applications in
the yarn-site.xml file. The value defaults to 10000.