Github user merrimanr commented on the issue:
https://github.com/apache/metron/pull/1128
I tested this in full dev by submitting a query with a time range that
won't match the pcap data I have in `/apps/metron/pcap/input`:
```
curl -X POST --header 'Content-Type: application/json' --header 'Accept:
application/json' -d '{
"startTimeMs": 1500923776000
}' 'http://node1:8082/api/v1/pcap/fixed'
```
An appropriate message was returned:
```
{
"jobId": "",
"jobStatus": "SUCCEEDED",
"description": "No results in specified date range.",
"percentComplete": 100,
"pageTotal": 0
}
```
I also ran a query with an input path that doesn't have any data:
```
curl -X POST --header 'Content-Type: application/json' --header 'Accept:
application/json' -d '{
"basePath":"/apps/metron/pcap/input2"
}' 'http://node1:8082/api/v1/pcap/fixed'
```
and again received an appropriate response:
```
{
"jobId": "",
"jobStatus": "SUCCEEDED",
"description": "No results in specified date range.",
"percentComplete": 100,
"pageTotal": 0
}
```
+1 from me.
---