urls

Displays the status page URL for the specified service.

Syntax

CLI
/opt/mapr/bin/maprcli urls
    [ -cluster <cluster> ]
    -name <service name>
    [ -zkconnect <zookeeper connect string> ]
REST
Request Type GET
Request URL
http[s]://<host>:<port>/rest/urls/statuspage?<parameters> 

If you submit the request without statuspage in the request URL, the return value contains a 404 error because the API requires a subcommand (empty or otherwise) to be present even though the subcommand is ignored.

Parameters

Parameter Description
cluster The name of the cluster on which to save the configuration.
name The name of the service for which to get the status page:
  • cldb
zkconnect ZooKeeper Connect String

Examples

Display the URL of the status page for the CLDB service:

# /opt/mapr/bin/maprcli urls -name cldb
url                              
https://abc.sj.us:7443/cldb.jsp 
curl -k -X GET 'https://abc.sj.us:8443/rest/urls/statuspage?name=cldb' --user mapr:mapr
{"timestamp":1544561148186,"timeofday":"2018-12-11 12:45:48.186 GMT-0800 PM","status":"OK","total":1,"data":[{"url":"https://abc.sj.us:7443/cldb.jsp"}]}