The urls command displays the status page URL for the specified service.

Syntax

CLI

maprcli urls
    [ -cluster <cluster> ]
    -name <service name>
    [ -zkconnect <zookeeper connect string> ]

REST

http[s]://<host>:<port>/rest/urls/<name> 

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
  • jobtracker
  • tasktracker

zkconnect

ZooKeeper Connect String

Examples

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

CLI

maprcli urls -name cldb

REST

https://r1n1.sj.us:8443/rest/maprcli/urls/cldb