config load

Displays information about the cluster configuration.

Syntax

CLI
maprcli config load
    [ -cluster <cluster> ]
    [ -keys <keys> ]
REST
Request Type GET
Request URL
http[s]://<host>:<port>/rest/config/load?<parameters> 

Parameters

Parameter Description
cluster (Optional) The cluster for which to display values. The default is the cluster on which the command is run.
keys (Optional) This parameter is used to specify the information to display. Comma-separated fields are used to display values; see the Configuration Fields table. By default, the command displays all information.

Output

Information about the cluster configuration. See the Configuration Fields table.

Sample Output
{
        "status":"OK",
        "total":1,
        "data":[
                {
                        "mapr.webui.http.port":"8080",
                        "mapr.fs.permissions.superuser":"root",
                        "mapr.smtp.port":"25",
                        "mapr.fs.permissions.supergroup":"supergroup"
                }
        ]
}

Examples

Display several keys:

CLI
maprcli config load -keys mapr.webui.http.port,mapr.webui.https.port,mapr.webui.https.keystorepath,mapr.webui.https.keystorepassword,mapr.webui.https.keypassword,mapr.webui.timeout
REST
NOTE
When using a self-signed certificate, pass the -k option to curl to avoid the certificate check.
curl -k -u <username> -X GET https://abc.sj.us:8443/rest/config/load?keys=mapr.webui.http.port,mapr.webui.https.port,mapr.webui.https.keystorepath,mapr.webui.https.keystorepassword,mapr.webui.https.keypassword,mapr.webui.timeout

View the security policy limit:

CLI
maprcli config load -keys cldb.max.security.policies
REST
NOTE
When using a self-signed certificate, pass the -k option to curl to avoid the certificate check.
curl -k -u <username> -X GET https://abc.sj.us:8443/rest/config/load?keys=cldb.max.security.policies

View the master security policy cluster:

CLI
maprcli config load -keys cldb.pbs.global.master
REST
NOTE
When using a self-signed certificate, pass the -k option to curl to avoid the certificate check.
curl -k -u <username> -X GET https://abc.sj.us:8443/rest/config/load?keys=cldb.pbs.global.master

View the number of containers to be assigned for a CG assign request:

CLI
maprcli config load -keys cldb.num.active.cg.containers
REST
NOTE
When using a self-signed certificate, pass the -k option to curl to avoid the certificate check.
curl -k -u <username> -X GET https://server.sj.us:8443/rest/config/load?keys=cldb.num.active.cg.containers

View the insight service buffer size:

CLI
maprcli config load -keys cldb.insight.buffer.size
REST
NOTE
When using a self-signed certificate, pass the -k option to curl to avoid the certificate check.
curl -k -u <username> -X POST https://abc.sj.us:8443/rest/config/load?keys=cldb.insight.buffer.size

View the time interval for committing insight data:

CLI
maprcli config load -keys cldb.insight.commit.interval.mins
REST
NOTE
When using a self-signed certificate, pass the -k option to curl to avoid the certificate check.
curl -k -u <username> -X POST https://abc.sj.us:8443/rest/config/load?keys=cldb.insight.commit.interval.mins

Enable debugging for insights:

CLI
maprcli config load -keys cldb.insight.debug.enabled
REST
NOTE
When using a self-signed certificate, pass the -k option to curl to avoid the certificate check.
curl -k -u <username> -X POST https://abc.sj.us:8443/rest/config/load?keys=cldb.insight.debug.enabled

View the heartbeat frequency for insight service:

CLI
maprcli config load -keys cldb.insight.heartbeat.seconds
REST
NOTE
When using a self-signed certificate, pass the -k option to curl to avoid the certificate check.
curl -k -u <username> -X POST https://abc.sj.us:8443/rest/config/load?keys=cldb.insight.heatbeat.seconds

View insight service secure communication settings for the Hive Metastore:

CLI
maprcli config load -keys cldb.insight.hivemetastore.sasl.enabled
REST
NOTE
When using a self-signed certificate, pass the -k option to curl to avoid the certificate check.
curl -k -u <username> -X POST https://abc.sj.us:8443/rest/config/load?keys=cldb.insight.hivemetastore.sasl.enabled

View the insight service SSL communication settings for the Hive Metastore:

CLI
maprcli config load -keys cldb.insight.hivemetastore.ssl.enabled
REST
NOTE
When using a self-signed certificate, pass the -k option to curl to avoid the certificate check.
curl -k -u <username> -X POST https://abc.sj.us:8443/rest/config/load?keys=cldb.insight.hivemetastore.ssl.enabled

View the insight summarization interval:

CLI
maprcli config load -keys cldb.insight.summarization.minutes
REST
NOTE
When using a self-signed certificate, pass the -k option to curl to avoid the certificate check.
curl -k -u <username> -X POST https://abc.sj.us:8443/rest/config/load?keys=cldb.insight.summarization.minutes

View the purge frequency for the insight records

CLI
maprcli config load -keys cldb.insight.purge.frequency.hours
REST
NOTE
When using a self-signed certificate, pass the -k option to curl to avoid the certificate check.
curl -k -u <username> -X POST https://abc.sj.us:8443/rest/config/load?keys=cldb.insight.purge.frequency.hours