Compute Platform health check

URL:
https://<root>/system/platformservices/<computePlatform>/health
Methods:
GET
Required Capability:
Access allowed with either the "Update", "Delete", "Security and Infrastructure", or "Servers" privileges
Version Introduced:
10.6

Description

The health resource 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 primary; other machines will be listed as STANDBY.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

The following is a sample request URL used to access the health resource:

Use dark colors for code blocksCopy
1
https://machine.domain.com/webadaptor/admin/system/platformservices/f44d878f-1341-4444-aa1d-53597f6756c3/health?f=pjson

JSON Response examples

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
  "MACHINE1.DOMAIN.COM": {
    "url": "spark://MACHINE.DOMAIN.COM:7077",
    "workers": [],
    "aliveworkers": 0,
    "cores": 0,
    "coresused": 0,
    "memory": 0,
    "memoryused": 0,
    "resources": [{}],
    "resourcesused": [{}],
    "activeapps": [],
    "completedapps": [],
    "activedrivers": [],
    "completeddrivers": [],
    "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,
        "resources": {},
        "resourcesused": {},
        "resourcesfree": {},
        "state": "ALIVE",
        "lastheartbeat": 1507326173412
        "lastheartbeatString": "2017-10-06T09:42:53,412",
        "hostname": "MACHINE.DOMAIN.COM"
      },
      {
        "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,
        "resources": {},
        "resourcesused": {},
        "resourcesfree": {},
        "state": "ALIVE",
        "lastheartbeat": 1507326180443
        "lastheartbeatString": "2017-10-06T09:43:00,443",
        "hostname": "MACHINE.DOMAIN.COM"
      },
      {
        "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,
        "resources": {},
        "resourcesused": {},
        "resourcesfree": {},
        "state": "DEAD",
        "lastheartbeat": 1507326140982
        "lastheartbeatString": "2017-10-06T09:42:20,982",
        "hostname": "MACHINE.DOMAIN.COM"
      }
    ],
    "cores": 6,
    "coresused": 0,
    "memory": 24576,
    "memoryused": 0,
    "activeapps": [],
    "completedapps": [],
    "activedrivers": [],
    "completeddrivers": [],
    "status": "ALIVE"
  },
  "status": "success"
}

When Spark is down on all machines:

Use dark colors for code blocksCopy
1
2
3
4
{
  "MACHINE.DOMAIN.COM": {},
  "status": "success"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.