Compute Platform Health Check

  • URL:https://<system>/platformservices/<ServiceId>/health
  • Version Introduced:10.6

Description

The health check returns information for each machine that participates in the Compute Platform service, and details the workers. This service applies to servers licensed and configured as ArcGIS GeoAnalytics Server. Worker information is only applicable to the machine currently assigned as the master; other machines will be listed as STANDBY.

Request Parameters

ParameterDetails
f

Description: The response format. The default response format is html.

Values: html | json

Example Usage

https://machine.domain.com:6443/arcgis/admin/system/platformservices/<serviceId>/health

JSON Response Example

{
  "MACHINE1.DOMAIN.COM": {
    "url": "spark://MACHINE.DOMAIN.COM:7077",
    "workers": [],
    "cores": 0,
    "coresused": 0,
    "memory": 0,
    "memoryused": 0,
    "activeapps": [],
    "completedapps": [],
    "activedrivers": [],
    "status": "STANDBY"
  },
  "MACHINE2.DOMAIN.COM": {
    "url": "spark://MACHINE.DOMAIN.COM:7077",
    "workers": [
      {
        "id": "worker-20171006141522-10.XX.8.XXX-56543",
        "host": "10.XX.8.XXX",
        "port": 56543,
        "cores": 3,
        "coresused": 0,
        "coresfree": 3,
        "memory": 12288,
        "memoryused": 0,
        "memoryfree": 12288,
        "state": "ALIVE",
        "lastheartbeat": 1507326173412
      },
      {
        "id": "worker-20171006141114-10.XX.8.XXX-56541",
        "host": "10.XX.8.XXX",
        "port": 56541,
        "cores": 3,
        "coresused": 0,
        "coresfree": 3,
        "memory": 12288,
        "memoryused": 0,
        "memoryfree": 12288,
        "state": "ALIVE",
        "lastheartbeat": 1507326180443
      },
      {
        "id": "worker-20171006143849-10.XX.8.XXX-56543",
        "host": "10.XX.8.XXX",
        "port": 56543,
        "cores": 3,
        "coresused": 0,
        "coresfree": 3,
        "memory": 12288,
        "memoryused": 0,
        "memoryfree": 12288,
        "state": "DEAD",
        "lastheartbeat": 1507326140982
      }
    ],
    "cores": 6,
    "coresused": 0,
    "memory": 24576,
    "memoryused": 0,
    "activeapps": [],
    "completedapps": [],
    "activedrivers": [],
    "status": "ALIVE" 
  },
  "status": "success"
}

When Spark is down on all machines:

{
  "MACHINE.DOMAIN.COM": {},
  "status": "success"
}