I tried locally to execute query via broker through the command below.
curl -H “Content-Type: application/json” -X POST -d ‘{“sql”:“select * from action limit 1”}’
http://pinot.broker.eks0.auw:80/query/sql
This pinot cluster is deployed in K8s cluster and we have 4 brokers in this pinot cluster.
http://pinot.broker.eks0.auw:80 is the exposed broker gateway address.
This table named action here is configured to tenant named tenanta which has only one broker.
When I run the above command, I can get the right results sometimes. But most of the time, the following error returned.
org.apache.pinot.client.PinotClientException: Query had processing exceptions:
[{“message”
“BrokerResourceMissingError”,“errorCode”410}]
at org.apache.pinot.client.Connection.execute(Connection.java:127)
at com.bigdata.PinotJava.main(PinotJava.java:53)
Is there some configuration I’m missing here for this issue? Any idea how to fix it?