cluster queryservice getconfig

Retrieves the configuration of the OJAI Distributed Query Service.

Permissions Required

Only the user who enabled the OJAI Distributed Query Service can run this command. If the service was enabled during installation, the user mapr must run the command.

Syntax

CLI
maprcli cluster queryservice getconfig -cluster < cluster-name > 
REST
Request Type GET
Request URL
http[s]://<host>:<port>/rest/queryservice/getconfig

Parameters

Parameter

Description

cluster

(Optional) Name of the cluster that is using secondary indexes to query the HPE Ezmeral Data Fabric Database JSON table. By default, this is the cluster on which you run this command.

Examples

CLI
maprcli cluster queryservice getconfig -cluster my.cluster.com
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/cluster/queryservice/getconfig?cluster=my.cluster.com
{"timestamp":1715236085166,"timeofday":"2024-05-08 11:28:05.166 GMT-0700 PM","status":"OK","total":1,"data":[{"enabled":false,"zookeeper":"m2-hux6k-32-n1.mip.storage.hpecorp.net:5181,m2-hux6k-32-n2.mip.storage.hpecorp.net:5181,m2-hux6k-32-n3.mip.storage.hpecorp.net:5181"}]}