In the task status payload, tasks are returning `statusCode` instead of
`status`. I thought this was expected new behavior but have been told by @gianm
I'm mistaken and this is a bug.
sample response from `/runningTasks` endpoint
```
{
"id": "index_kinesis_kinesis-test_007c7ecb6b7a79c_aogcbmlh",
"type": "index_kinesis",
"createdTime": "2018-08-16T01:55:03.207Z",
"queueInsertionTime": "2018-08-16T01:55:03.210Z",
"statusCode": null,
"duration": null,
"location": {
"host": "10.0.0.4",
"port": 8100,
"tlsPort": -1
},
"dataSource": "kinesis-test",
"errorMsg": null
}
```
sample response from `/{taskId}/status` endpoint
```
{
"task": "index_shutdown_fe_test",
"status": {
"id": "index_shutdown_fe_test",
"type": "index",
"createdTime": "2018-06-29T19:31:37.609Z",
"queueInsertionTime": "1970-01-01T00:00:00.000Z",
"statusCode": "FAILED",
"runnerStatusCode": "WAITING",
"duration": -1,
"location": {
"host": null,
"port": -1,
"tlsPort": -1
},
"dataSource": "dataset_fe_test",
"errorMsg": null
}
}
```
[ Full content available at:
https://github.com/apache/incubator-druid/issues/6333 ]
This message was relayed via gitbox.apache.org for [email protected]