I have been trying to connect to authenticated Pinot Controller : sample only
final String dB_URL = "jdbc:pinot://hostname:port";
through JDBC Client with the following set of properties:samples only
properties.setProperty("username", "user");
properties.setProperty("password", "pass");
When I am trying to access the controller URL directly with the same set of credentials I am able to do so.
But when I am trying to connect to URL through JDBC client in my code it is throwing the below exception:
PinotClientException: Pinot returned HTTP status 403, expected 200
I have tried the same code and was able to connect to local Pinot and execute queries which does not contain any authentication.
Expectation: I want to connect to authenticated pinot UI through JDBC client in my code and execute queries and fetch results.