Lists all services on the specified node, along with the state and log path for each service.

Syntax

CLI

maprcli service list
    -node <node name>

REST

http[s]://<host>:<port>/rest/service/list?<parameters> 

Parameters


Parameter

Description

node

The node on which to list the services

Output

Information about services on the specified node. For each service, the status is reported numerically:

  • 0 - NOT_CONFIGURED: the package for the service is not installed and/or the service is not configured (configure.sh has not run)
  • 2 - RUNNING: the service is installed, has been started by the warden, and is currently executing
  • 3 - STOPPED: the service is installed and configure.sh has run, but the service is currently not executing
  • 5 - STAND_BY: the service is installed and is in standby mode, waiting to take over in case of failure of another instance (mainly used for JobTracker warm standby)