Listing the Configuration Files for Each Service

Explains how to use the CLI to list all the configuration files for each service.

About this task

Each service on a node has one or more configuration files associated with it. The default version of each configuration file can be used as a template that you can modify as needed.

Files in the following directory contain the list of configuration files for each installed service: /opt/mapr/servicesconf/<service>.

Procedure

Use the following command to display the configuration files or the directory that contains the configuration files for each service:
cat /opt/mapr/servicesconf/<service>

For example, the following command displays the configuration files for NodeManager:

cat /opt/mapr/servicesconf/nodemanager
    hadoop/hadoop-2.7.4/etc/hadoop

The following table contains the configuration files and configuration file directories available for Hadoop and Hbase:

Service Pathnames of Configuration Files
cldb /opt/mapr/conf/BaseLicense.txt
/opt/mapr/conf/cldb.conf
/opt/mapr/hadoop/hadoop-xxx/etc/hadoop/hadoop-metrics.properties
/opt/mapr/conf/log4j.cldb.properties
/opt/mapr/conf/log4j.properties
/opt/mapr/conf/MapRLicenseIssuerCert.der
fileserver /opt/mapr/conf/mfs.conf
historyserver /opt/mapr/conf/conf.d/warden.historyserver.conf
ATTENTION You can perform additional configuration of the historyserver in /opt/mapr/hadoop/hadoop-xxx/etc/hadoop/yarn-site.xml
nfs /opt/mapr/conf/nfsserver.conf
/opt/mapr/conf/exports
nodemanager /opt/mapr/conf/conf.d/warden.nodemanager.conf
/opt/mapr/conf.new/hadoop_version
resourcemanager /opt/mapr/conf/conf.d/warden.resourcemanager.conf
ATTENTION You can perform additional configuration of the resourcemanager in /opt/mapr/hadoop/hadoop-xxx/etc/hadoop/yarn-site.xml
webserver /opt/mapr/apiserver/conf/properties.cfg