Configuring the MapR File System State Store

Describes the configuration of the MapR state store.

About this task

By default, the Resource Manager stores its state in the MapR filesystem. However, you can change the values for the following properties related to the MapR filesystem 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 MapR 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.