Home

/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

App ID.

Query parameters

None.

Response body

Name

Type

Description

@class

string

vcoreSeconds

integeger

memorySeconds

integer

cents

integer

version

integer

source

string

kind

string

id

string

App ID.

nick

string

status

string

user

string

mrJobIds

array

List of MapReduce job IDs.

duration

integer

startTime

integer

numMRJobs

integer

totalMRJobs

integer

totalMapTasks

integer

sm

integer

km

integer

kmu

integer

fm

integer

fmu

integer

totalReduceTasks

integer

sr

integer

kr

integer

kru

integer

fr

integer

fru

integer

totalMapSlotDuration

integer

totalReduceSlotDuration

integer

totalDfsBytesRead

integer

totalDfsBytesWritten

integer

queryString

string

type

string

numEvents

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
}