Skip to main content

Snowflake Documentation

New API: GET /spark/{clusterUid}/{app_id}/{attempt_id}/executor/driver/log?compress

Provides driver logs.

Request
GET http://<unravel-host>/api/v1/spark/{clusterUid}/{app_id}/{attempt_id}/executor/driver/log?compress=true
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_0026/1/executor/driver/log?compress=true" -H "accept: application/json"  -H "Content-Type:application/json" -H  "Authorization: JWT  <token>"

Response body:

[{"meta":"H4sIAAAAAAAAAOy9C3MbOZLv+1XqTuyJcd+Q6Ho/dLY3xm17pnvWbvtYntmzd3vDQUmUzTZFakmq3R7HfPeLquIDxaoEkIXMKvRj77nTMiUC/0IBCeCXicSXP8yW2/n287v5zR8u/jC9v1/Mr6fb+Wr5LkjjPAiSOE39wn/n+0H6h7M/3ATir27W859ma/Gvxeq9+Of9eraYPiyvP0xm67X3aDudL7zzwPf9r35Y/rDcbG9WD9uTjx/lZ15Q/VDsf3D+k+pRTp6w/Py/7qbz5X97333/51fem9lm9bC+nj1dLRaz6+1q7Z17f1uupz/NFt7lbLkRH8STfOJP/POb2U+PQ/FT5M2X8+18upj/Y758P/lhGYaP/ehxGHtBdOHHF3FUF/2wnS8ml/P3y+nib+LHzYWo7P18s52tZzfepvrc+zBd3ixma+9W1PP2+ZuXZIV9+7fXZGV99/1bsKzN/XT9cXI5u35Yiz75crqcvp+tL7yn4vvvRet4P81nn7zp9WLjbVcX3sNmto56l3W3upnffqYq7ajs/Xr1cF8XSaLNorzWB9OH7YdyvNdD3LuZb6ZXi9nN//Ye5nVl0ieiOTae92m+/VA/3P1sfTffbMT3NmXJ20dVg331v/cCFX/5VbO43dMZFQj97Vfttojrtvg8XS8nT46G7OW07IsXnvTRk+12dne//e5GtMj9/bT+V4fBe1cOcT9AV3W5na635XsUrV09uScZVjHevam3mYlXNt3OvLcf1rPpDbqK
,"attempt_id":"1"}]