Describes the configuration of the Data Fabric state
store.
About this task
By default, the Resource Manager stores its state in the Data Fabric file system. However, you can change the values for
the following properties related to the Data Fabric file
system state store:
Procedure
-
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.