I am facing an issue using JDBC client of Pinot. I...
# troubleshooting
p
I am facing an issue using JDBC client of Pinot. I am able to do queries via postman to the broker. But getting the following problem. Failed to connect to url : jdbc: pinot://<broker-url> java.util.concurrent.ExecutionException: org.apache.pinot.client.PinotClientException: Pinot returned HTTP status 308, expected 200 I am using version 0.8.0 and following this guide https://docs.pinot.apache.org/users/clients/jdbc
k
Seems like you might not have access to the Pinot broker from your client. The JDBC client negotiates with the Pinot controller (port 9000) to get the host URL of the Pinot broker (port 8000 by default).
Make sure you use the controller URL in your JDBC connection and ensure that you have access to the broker from your host machine