chrajeshbabu opened a new issue, #15187:
URL: https://github.com/apache/pinot/issues/15187

   Some times the query running from the JDBC driver are failing because of 
broker list fetching is listing all the servers even the dead servers we should 
limit to fetch only online brokers so we need to pass the state ONLINE while 
calling broker list to controller.
   
   `  public ControllerTenantBrokerResponse getBrokersFromController(String 
controllerAddress, String tenant) {
       try {
         String url = _scheme + "://" + controllerAddress + 
"/v2/brokers/tenants/" + tenant;
         BoundRequestBuilder requestBuilder = _httpClient.prepareGet(url);
         if (_headers != null) {
           _headers.forEach((k, v) -> requestBuilder.addHeader(k, v));
         }`


-- 
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