atharva-sadanshive-simpleenergy opened a new issue, #16243:
URL: https://github.com/apache/pinot/issues/16243

   The current Spark-Pinot connector (version 0.12.1) does not support passing 
authentication credentials (username/password or Bearer token) to the Pinot 
Controller or Broker via .option(...). This makes it impossible to use the 
connector in environments where Pinot is configured with HTTP Basic 
Authentication or token-based access control.
   
   When attempting to query a secured Pinot cluster, the schema-fetch step from 
the Controller fails with the following error:
   
   `Caused by: org.apache.pinot.connector.spark.common.HttpStatusCodeException: 
Got error status code '403' with reason 'Forbidden'
       at 
org.apache.pinot.connector.spark.common.HttpUtils$.executeRequest(HttpUtils.scala:62)
       at 
org.apache.pinot.connector.spark.common.HttpUtils$.sendGetRequest(HttpUtils.scala:46)
       at 
org.apache.pinot.connector.spark.common.PinotClusterClient$.$anonfun$getTableSchema$1(PinotClusterClient.scala:45)
       ...`
   
   
   If anyone has successfully managed to pass authentication credentials for a 
secured Pinot cluster using the Spark-Pinot connector, please share your 
solution or a workaround. Any help on this would be greatly appreciated!


-- 
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: commits-unsubscr...@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to