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
-
NOTEWhen using a self-signed certificate, pass the
-k
option tocurl
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
-
NOTEWhen using a self-signed certificate, pass the
-k
option tocurl
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
-
NOTEWhen using a self-signed certificate, pass the
-k
option tocurl
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
-
NOTEWhen using a self-signed certificate, pass the
-k
option tocurl
to avoid the certificate check.curl -k -u <username> -X GET https://abc.sj.us:8443/rest/config/load?keys=cldb.num.active.cg.containers