Displays information about the cluster configuration. You can use the keys parameter to specify which information to display.


Syntax

CLI

maprcli config load
    [ -cluster <cluster> ]
    [ -keys <keys> ]

REST

http[s]://<host>:<port>/rest/config/load?<parameters> 

Parameters



Parameter

Description

cluster

The cluster for which to display values.

keys

The comma-separated fields for which to display values; see the Configuration Fields table.

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

https://r1n1.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