KKcorps opened a new issue #7166:
URL: https://github.com/apache/incubator-pinot/issues/7166


   The JDBC driver is not able to run queries if pinot is deployed in 
kubernetes cluster.
   The driver uses controller URL in the connection and then fetches the broker 
list from controller for the tenant specified in JDBC properties 
   Now what's happening is that in clusters such as k8s, the controller returns 
the broker hostname and not IP/ingress url 
   ```bash
   curl -X GET 
"http://localhost:9000/v2/brokers/tenants/DefaultTenant?state=ONLINE"; -H 
"accept: application/json"
   ```
   Queries cannot be executed against hostname since it is unresolvable to the 
drivers which are running outside the Kubernetes cluster.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to