{
"state": "unknown",
"jobId": "<string>",
"jobConfig": {
"id": "<string>"
},
"hostname": "<string>",
"result": {
"jobConfigId": "<string>",
"jobRunId": "<string>",
"docsWritten": 123,
"exception": {
"job": {
"type": "APPKIT_APP",
"id": "<string>",
"canonicalName": "<string>",
"uri": "<string>"
},
"jobRunId": "<string>",
"httpStatusCode": 123,
"error": "<string>",
"message": "<string>",
"details": "<string>",
"cause": {
"cause": {},
"stackTrace": [
{
"methodName": "<string>",
"fileName": "<string>",
"lineNumber": 123,
"className": "<string>",
"nativeMethod": true
}
],
"message": "<string>",
"localizedMessage": "<string>",
"suppressed": [
{}
]
},
"stackTrace": [
{
"methodName": "<string>",
"fileName": "<string>",
"lineNumber": 123,
"className": "<string>",
"nativeMethod": true
}
],
"localizedMessage": "<string>",
"suppressed": [
{
"cause": {},
"stackTrace": [
{
"methodName": "<string>",
"fileName": "<string>",
"lineNumber": 123,
"className": "<string>",
"nativeMethod": true
}
],
"message": "<string>",
"localizedMessage": "<string>",
"suppressed": [
{}
]
}
],
"httpStatusMessage": "<string>",
"class": "<string>",
"requestId": "<string>"
}
},
"startTime": "<string>",
"endTime": "<string>",
"duration": 123
}
Results of computation can be returned to the caller as a part of the job status, by assigning the result in the script to a variable called result
. The result
is flat strings and not JSON. You can use sqlContext.read.json(…)
to read this file as a DataFrame
.
{
"state": "unknown",
"jobId": "<string>",
"jobConfig": {
"id": "<string>"
},
"hostname": "<string>",
"result": {
"jobConfigId": "<string>",
"jobRunId": "<string>",
"docsWritten": 123,
"exception": {
"job": {
"type": "APPKIT_APP",
"id": "<string>",
"canonicalName": "<string>",
"uri": "<string>"
},
"jobRunId": "<string>",
"httpStatusCode": 123,
"error": "<string>",
"message": "<string>",
"details": "<string>",
"cause": {
"cause": {},
"stackTrace": [
{
"methodName": "<string>",
"fileName": "<string>",
"lineNumber": 123,
"className": "<string>",
"nativeMethod": true
}
],
"message": "<string>",
"localizedMessage": "<string>",
"suppressed": [
{}
]
},
"stackTrace": [
{
"methodName": "<string>",
"fileName": "<string>",
"lineNumber": 123,
"className": "<string>",
"nativeMethod": true
}
],
"localizedMessage": "<string>",
"suppressed": [
{
"cause": {},
"stackTrace": [
{
"methodName": "<string>",
"fileName": "<string>",
"lineNumber": 123,
"className": "<string>",
"nativeMethod": true
}
],
"message": "<string>",
"localizedMessage": "<string>",
"suppressed": [
{}
]
}
],
"httpStatusMessage": "<string>",
"class": "<string>",
"requestId": "<string>"
}
},
"startTime": "<string>",
"endTime": "<string>",
"duration": 123
}
The media type of the entity body
When true, run the job synchronously; the request will not return until the job is complete
Page size for reading out of Solr
Scala script
The body is of type string<byte>[]
.
successful operation
The response is of type object
.
Was this page helpful?