Failure getting results from Druid because of Unexpected end-of-input

Hi,

I’m trying to run a druid query to get a count of items. It was working yesterday, but today I’m getting errors. Here is the query I’m running:

{
“queryType”: “timeseries”,
“dataSource”: “events”,
“granularity”: “all”,
“aggregations”: [{ “type” : “longSum”, “name” : “count”, “fieldName” : “count” }],
“intervals”: [ “0001-01-01T00:00:00.000Z/9999-12-31T23:59:59.999Z” ]
}

``

And here is the error I’m getting:

{
“error”: “Failure getting results from[http://eventstore:8101/druid/v2/] because of [Unexpected end-of-input: was expecting closing '”’ for name\n at [Source: {“missingSegments”:[{“itvl”:“2016-09-12T20:00:00.000Z/2016-09-12T21:00:00.000Z”,“ver”:“2016-10-06T17:26:34.856Z”,“part”:34},{“itvl”:“2016-10-07T02:00:00.000Z/2016-10-07T03:00:00.000Z”,“ver”:“2016-10-07T02:03:31.483Z”,“part”:5},{“itvl”:“2016-10-07T02:00:00.000Z/2016-10-07T03:00:00.000Z”,“ver”:“2016-10-07T02:03:31.483Z”,“part”:4},{“itvl”:“2016-10-07T01:00:00.000Z/2016-10-07T02:00:00.000Z”,“ver”:“2016-10-07T01:05:36.306Z”,“part”:9},{“itvl”:“2016-10-07T01:00:00.000Z/2016-10-07T02:00:00.000Z”,“ver”:“2016-10-07T01:05:36.306Z”,“part”:8},{“itvl”:“2016-10-07T00:00:00.000Z/2016-10-07T01:00:00.000Z”,“ver”:“2016-10-07T00:00:03.833Z”,“part”:9},{“itvl”:“2016-10-07T00:00:00.000Z/2016-10-07T01:00:00.000Z”,“ver”:“2016-10-07T00:00:03.833Z”,“part”:8},{“itvl”:“2016-10-06T23:00:00.000Z/2016-10-07T00:00:00.000Z”,“ver”:“2016-10-06T23:00:09.431Z”,“part”:11},{“itvl”:“2016-10-06T23:00:00.000Z/2016-10-07T00:00:00.000Z”,“ver”:“2016-10-06T23:00:09.431Z”,“part”:8},{“itvl”:“2016-10-06T22:00:00.000Z/2016-10-06T23:00:00.000Z”,“ver”:“2016-10-06T22:00:06.422Z”,“part”:12},{“itvl”:“2016-10-06T21:00:00.000Z/2016-10-06T22:00:00.000Z”,“ver”:“2016-10-06T21:00:06.361Z”,“part”:21},{“itvl”:“2016-10-06T21:00:00.000Z/2016-10-06T22:00:00.000Z”,“ver”:“2016-10-06T21:00:06.361Z”,“part”:20},{“itvl”:“2016-10-06T20:00:00.000Z/2016-10-06T21:00:00.000Z”,“ver”:“2016-10-06T20:07:10.629Z”,“part”:25},{“itvl”:“2016-10-06T20:00:00.000Z/2016-10-06T21:00:00.000Z”,“ver”:“2016-10-06T20:07:10.629Z”,“part”:23},{“itvl”:“2016-10-06T19:00:00.000Z/2016-10-06T20:00:00.000Z”,“ver”:“2016-10-06T19:00:03.752Z”,“part”:20},{“itvl”:“2016-10-06T18:00:00.000Z/2016-10-06T19:00:00.000Z”,“ver”:“2016-10-06T18:00:03.519Z”,“part”:21},{“itvl”:“2016-10-06T18:00:00.000Z/2016-10-06T19:00:00.000Z”,“ver”:“2016-10-06T18:00:03.519Z”,“part”:19},{“itvl”:“2016-10-06T16:00:00.000Z/2016-10-06T17:00:00.000Z”,“ver”:“2016-10-06T17:26:39.162Z”,“part”:34},{“itvl”:“2016-10-06T02:00:00.000Z/2016-10-06T03:00:00.000Z”,“ver”:“2016-10-06T17:26:39.147Z”,“part”:8},{“itvl”:“2016-10-06T02:00:00.000Z/2016-10-06T03:00:00.000Z”,“ver”:“2016-10-06T17:26:39.147Z”,“part”:7},{“itvl”:“2016-10-06T01:00:00.000Z/2016-10-06T02:00:00.000Z”,“ver”:“2016-10-06T17:26:39.115Z”,“part”:27},{“itvl”:“2016-10-06T01:00:00.000Z/2016-10-06T02:00:00.000Z”,“ver”:“2016-10-06T17:26:39.115Z”,“part”:24},{“itvl”:“2016-10-06T00:00:00.000Z/2016-10-06T01:00:00.000Z”,“ver”:“2016-10-06T17:26:39.204Z”,“part”:22},{“itvl”:“2016-10-05T22:00:00.000Z/2016-10-05T23:00:00.000Z”,“ver”:“2016-10-06T17:26:39.467Z”,“part”:6},{“itvl”:“2016-10-05T19:00:00.000Z/2016-10-05T20:00:00.000Z”,“ver”:“2016-10-06T17:26:38.428Z”,“part”:12},{“itvl”:“2016-10-05T17:00:00.000Z/2016-10-05T18:00:00.000Z”,“ver”:“2016-10-06T17:26:38.244Z”,“part”:9},{“itvl”:“2016-10-05T16:00:00.000Z/2016-10-05T17:00:00.000Z”,“ver”:“2016-10-06T17:26:39.393Z”,“part”:5},{“itvl”:“2016-10-05T16:00:00.000Z/2016-10-05T17:00:00.000Z”,“ver”:“2016-10-06T17:26:39.393Z”,“part”:3},{“itvl”:“2016-10-05T04:00:00.000Z/2016-10-05T05:00:00.000Z”,“ver”:“2016-10-06T17:26:39.109Z”,“part”:3},{“itvl”:“2016-10-05T03:00:00.000Z/2016-10-05T04:00:00.000Z”,“ver”:“2016-10-06T17:26:38.092Z”,“part”:34},{“itvl”:“2016-10-05T03:00:00.000Z/2016-10-05T04:00:00.000Z”,“ver”:“2016-10-06T17:26:38.092Z”,“part”:33},{“itvl”:“2016-10-05T02:00:00.000Z/2016-10-05T03:00:00.000Z”,“ver”:“2016-10-06T17:26:37.114Z”,“part”:7},{“itvl”:“2016-10-05T02:00:00.000Z/2016-10-05T03:00:00.000Z”,“ver”:“2016-10-06T17:26:37.114Z”,“part”:6},{“itvl”:“2016-10-04T23:00:00.000Z/2016-10-05T00:00:00.000Z”,“ver”:“2016-10-06T17:26:37.037Z”,“part”:4},{“itvl”:“2016-10-04T21:00:00.000Z/2016-10-04T22:00:00.000Z”,“ver”:“2016-10-06T17:26:36.959Z”,“part”:35},{“itvl”:“2016-10-04T21:00:00.000Z/2016-10-04T22:00:00.000Z”,“ver”:“2016-10-06T17:26:36.959Z”,“part”:34},{“itvl”:“2016-10-04T18:00:00.000Z/2016-10-04T19:00:00.000Z”,“ver”:“2016-10-06T17:26:37.503Z”,“part”:36},{“itvl”:“2016-10-04T18:00:00.000Z/2016-10-04T19:00:00.000Z”,“ver”:“2016-10-06T17:26:37.503Z”,“part”:34},{“itvl”:“2016-10-04T17:00:00.000Z/2016-10-04T18:00:00.000Z”,“ver”:“2016-10-06T17:26:37.157Z”,“part”:8},{“itvl”:“2016-10-04T17:00:00.000Z/2016-10-04T18:00:00.000Z”,“ver”:“2016-10-06T17:26:37.157Z”,“part”:7},{“itvl”:“2016-10-04T16:00:00.000Z/2016-10-04T17:00:00.000Z”,“ver”:“2016-10-06T17:26:36.847Z”,“part”:36},{“itvl”:“2016-10-04T16:00:00.000Z/2016-10-04T17:00:00.000Z”,“ver”:“2016-10-06T17:26:36.847Z”,“part”:35},{“itvl”:“2016-10-03T22:00:00.000Z/2016-10-03T23:00:00.000Z”,“ver”:“2016-10-06T17:26:36.859Z”,“part”:34},{“itvl”:“2016-10-03T22:00:00.000Z/2016-10-03T23:00:00.000Z”,“ver”:“2016-10-06T17:26:36.859Z”,“part”:33},{“itvl”:“2016-10-03T20:00:00.000Z/2016-10-03T21:00:00.000Z”,“ver”:“2016-10-06T17:26:37.281Z”,“part”:9},{“itvl”:“2016-10-03T19:00:00.000Z/2016-10-03T20:00:00.000Z”,“ver”:“2016-10-06T17:26:37.295Z”,“part”:12},{“itvl”:“2016-10-03T18:00:00.000Z/2016-10-03T19:00:00.000Z”,“ver”:“2016-10-06T17:26:36.274Z”,“part”:17},{“itvl”:“2016-10-03T16:00:00.000Z/2016-10-03T17:00:00.000Z”,“ver”:“2016-10-06T17:26:36.236Z”,“part”:4},{“itvl”:“2016-09-30T22:00:00.000Z/2016-09-30T23:00:00.000Z”,“ver”:“2016-10-06T17:26:36.098Z”,“part”:24},{“itvl”:“2016-09-30T22:00:00.000Z/2016-09-30T23:00:00.000Z”,“ver”:“2016-10-06T17:26:36.098Z”,“part”:23},{“itvl”:“2016-09-30T21:00:00.000Z/2016-09-30T22:00:00.000Z”,“ver”:“2016-10-06T17:26:36.055Z”,“part”:5},{“itvl”:“2016-09-30T20:00:00.000Z/2016-09-30T21:00:00.000Z”,“ver”:“2016-10-06T17:26:35.883Z”,“part”:9},{“itvl”:“2016-09-30T20:00:00.000Z/2016-09-30T21:00:00.000Z”,“ver”:“2016-10-06T17:26:35.883Z”,“part”:7},{“itvl”:“2016-09-29T20:00:00.000Z/2016-09-29T21:00:00.000Z”,“ver”:“2016-10-06T17:26:35.931Z”,“part”:18},{“itvl”:“2016-09-29T20:00:00.000Z/2016-09-29T21:00:00.000Z”,“ver”:“2016-10-06T17:26:35.931Z”,“part”:16},{“itvl”:“2016-09-29T18:00:00.000Z/2016-09-29T19:00:00.000Z”,“ver”:“2016-10-06T17:26:36.021Z”,“part”:3},{“itvl”:“2016-09-27T18:00:00.000Z/2016-09-27T19:00:00.000Z”,“ver”:“2016-10-06T17:26:36.193Z”,“part”:35},{“itvl”:“2016-09-27T18:00:00.000Z/2016-09-27T19:00:00.000Z”,“ver”:“2016-10-06T17:26:36.193Z”,“part”:34},{“itvl”:“2016-09-27T16:00:00.000Z/2016-09-27T17:00:00.000Z”,“ver”:“2016-10-06T17:26:35.872Z”,“part”:34},{“itvl”:“2016-09-22T21:00:00.000Z/2016-09-22T22:00:00.000Z”,“ver”:“2016-10-06T17:26:36.161Z”,“part”:4},{“itvl”:“2016-09-20T18:00:00.000Z/2016-09-20T19:00:00.000Z”,“ver”:“2016-10-06T17:26:35.921Z”,“part”:5},{“itvl”:“2016-09-19T18:00:00.000Z/2016-09-19T19:00:00.000Z”,“ver”:“2016-10-06T17:26:35.888Z”,“part”:4},{“itvl”:“2016-09-19T18:00:00.000Z/2016-09-19T19:00:00.000Z”,“ver”:“2016-10-06T17:26:35.888Z”,“part”:2},{“itvl”:“2016-09-14T23:00:00.000Z/2016-09-15T00:00:00.000Z”,“ver”:“2016-10-06T17:26:35.704Z”,“part”:3},{“itvl”:“2016-09-14T18:00:00.000Z/2016-09-14T19:00:00.000Z”,“ver”:“2016-10-06T17:26:34.944Z”,“part”:4},{“itvl”:“2016-09-13T22:00:00.000Z/2016-09-13T23:00:00.000Z”,“ver”:“2016-10-06T17:26:35.094Z”,“part”:4},{“itvl”:“2016-09-13T18:00:00.000Z/2016-09-13T19:00:00.000Z”,“ver”:“2016-10-06T17:26:35.708Z”,“part”:35},{“itvl”:“2016-09-13T18:00:00.000Z/2016-09-13T19:00:00.000Z”,“ver”:“2016-10-06T17:26:35.708Z”,“part”:34},{“itvl”:“2016-09-13T15:00:00.000Z/2016-09-13T16:00:00.000Z”,“ver”:“2016-10-06T17:26:35.655Z”,“part”:3},{“itv; line: 1, column: 14337]]”
}

``

Any ideas what is causing this?

Thanks in advance,
Mike

Hi Mike, I think in your broker or coordnator logs there will be more detailed info as to what is happening. There is likely another error causing the behavior you are seeing.