Skip to content

Pinot JDBC Client Connection Exception #7987

@Arpita030125

Description

@Arpita030125

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions