/common/app/{app_id}/summary
Gets a summary of a given app.
Request
GET http://unravel-host
:3000/api/v1/common/app/{app_id}/summary
Path parameters
Name | Description |
---|---|
| App ID. |
Query parameters
None.
Response body
Name | Type | Description |
---|---|---|
| string | |
| integeger | |
| integer | |
| integer | |
| integer | |
| string | |
| string | |
| string | App ID. |
| string | |
| string | |
| string | |
| array | List of MapReduce job IDs. |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| string | |
| string | |
| integer |
Examples
Request:
curl -X GET "http://myserver.com:3000/api/v1/common/app/parwinder_20190228180000_db0d2b83-849f-45d2-bd64-e9224e4b4388-u_SOyF/summary" -H "accept: application/json" -H "Authorization: JWT token
"
Response:
{ "@class": "com.unraveldata.annotation.HiveQueryAnnotation", "vcoreSeconds": 0, "memorySeconds": 0, "cents": 0, "version": 1, "source": "post-db", "kind": "hive", "id": "parwinder_20190228180000_db0d2b83-849f-45d2-bd64-e9224e4b4388-u_SOyF", "nick": "Hive Query", "status": "S", "user": "parwinder", "mrJobIds": [ "job_1550559654567_8334" ], "duration": 82120, "startTime": 1551405626487, "numMRJobs": 0, "totalMRJobs": 1, "totalMapTasks": 0, "sm": 0, "km": 0, "kmu": 0, "fm": 0, "fmu": 0, "totalReduceTasks": 0, "sr": 0, "kr": 0, "kru": 0, "fr": 0, "fru": 0, "totalMapSlotDuration": 0, "totalReduceSlotDuration": 0, "totalDfsBytesRead": 0, "totalDfsBytesWritten": 0, "queryString": "\nINSERT OVERWRITE DIRECTORY '\/user\/benchmark-user\/benchmarks\/oozie\/workflows\/road_accident_db\/output\/'\nROW FORMAT DELIMITED\nFIELDS TERMINATED BY '\\t'\nSTORED AS TEXTFILE\nselect reflect(\"java.lang.Thread\", \"sleep\", bigint(60000))", "type": "DML", "numEvents": 0 }