Skip to main content

Home

GET /common/app/{app_id}/errors?apiMode=true
New API: GET spark/{clusterUid}/{app_id}/{attempt_id}/errorview

Gets the errors/warnings for the given application.

Request
GET http://<unravel-host>:3000/api/v1/spark/{clusterUid}/{app_id}/{attempt_id}/errorview
Path parameters

Name

Description

app_id

App ID.

clusterUid

Cluster unique ID.

attempt_id

Attempt ID of an application in case of multiple attempts.

Query parameters

None

Examples

Request:

curl -X GET "http://myserver.com:3000/api/v1/spark/default/application_1648561667886_0027/1/errorview" -H "accept: application/json"  -H "Content-Type:application/json" -H  "Authorization: JWT <token>"

Response body:

[{"component":"driver","meta":"{\"appId\":\"application_1648115466090_0016\",\"attemptId\":\"1\",\"component\":\"driver\",\"severityNumsAll\":{\"exception\":0,\"warn\":1,\"error\":0,\"fatal\":0},\"hitdoc\":null,\"schema\":[{\"name\":\"severity\",\"type\":\"int\",\"desc\":\"Unravel
error level\"},{\"name\":\"time\",\"type\":\"TimeStamp\",\"desc\":\"timestamp of the error
occurred\"},{\"name\":\"keyword\",\"type\":\"String\",\"desc\":\"Error type
keyword\"},{\"name\":\"message\",\"type\":\"String\",\"desc\":\"error log
entries\"}],\"content\":[{\"id\":\"application_1648115466090_0016\",\"severity\":\"30\",\"time\":\"1648127088000\",\"keyword\":\"cluster.YarnSchedulerBackend$YarnSchedulerEndpoint:\",\"message\":\"Attempted
to request executors before the AM has registered!\"}]}","attempt_id":"1"}]