I get an error when I am trying query data source

Hi,

After data is ingested to Druid, I created success datasource “review_json_1”. Then, I could queried and got data as expected in couple days ago.

However, today when I am trying to query the same data source , I get this weird error below

select * from review_json_1;

java.lang.RuntimeException: Error while applying rule DruidTableScanRule, args [rel#22881:LogicalTableScan.NONE.(table=[druid, review_json_1])]

Hi Tom,
Where are you doing this on (local machine, cloud)? if you look at the coordinator console does it show there is data?

Regards,

Robert

Hi Robert,

I am running in AWS,

So far I do see some message in coordinator console , but no idea what does that mean

3.0-incubating",“metric”:“segment/size”,“value”:769124781,“dataSource”:“review_json_1”}]

2019-01-12T00:33:33,332 INFO [Coordinator-Exec–0] org.apache.druid.java.util.emitter.core.LoggingEmitter - Event [{“feed”:“metrics”,“timestamp”:“2019-01-12T00:33:33.332Z”,“service”:“druid/coordinator”,“host”:“ec2-35-167-146-134.us-west-2.compute.amazonaws.com:8081”,“version”:“0.13.0-incubating”,“metric”:“segment/count”,“value”:48408,“dataSource”:“review_json_1”}]

2019-01-12T00:33:33,382 INFO [DatabaseRuleManager-Exec–0] org.apache.druid.metadata.SQLMetadataRuleManager - Polled and found rules for 1 datasource(s)

2019-01-12T00:33:38,385 INFO [Coordinator-Exec–0] org.apache.druid.server.coordinator.helper.DruidCoordinatorSegmentInfoLoader - Starting coordination. Getting available segments.

2019-01-12T00:33:38,430 INFO [Coordinator-Exec–0] org.apache.druid.server.coordinator.helper.DruidCoordinatorSegmentInfoLoader - Found [48,408] available segments.

2019-01-12T00:33:38,467 WARN [Coordinator-Exec–0] org.apache.druid.server.coordinator.helper.DruidCoordinatorRuleRunner - Uh… I have no servers. Not assigning anything…

2019-01-12T00:33:38,468 INFO [Coordinator-Exec–0] org.apache.druid.java.util.emitter.core.LoggingEmitter - Event [{“feed”:“metrics”,“timestamp”:“2019-01-12T00:33:38.468Z”,“service”:“druid/coordinator”,“host”:“ec2-35-167-146-134.us-west-2.compute.amazonaws.com:8081”,“version”:“0.13.0-incubating”,“metric”:“segment/overShadowed/count”,“value”:0}]

2019-01-12T00:33:38,468 INFO [Coordinator-Exec–0] org.apache.druid.server.coordinator.helper.DruidCoordinatorLogger - Load Queues:

2019-01-12T00:33:38,467 WARN [Coordinator-Exec–0] org.apache.druid.server.coordinator.helper.DruidCoordinatorRuleRunner - Uh… I have no servers. Not assigning anything…

Hmm…wondering can you query any of your datasources that’s listed in the coordinator console to see if issue specific to the datasource? Also, maybe try querying with a where clause limiting the result set to a couple hours worth of data.
Regards,

Robert