dang-stripe opened a new pull request, #13209:
URL: https://github.com/apache/pinot/pull/13209

   Our Pinot access control plugin threw NoSuchMethodErrors due to classpath 
conflicts that caused Pinot's APIs to 500s and return vague grizzly errors and 
no logs for the exception. This made it hard to debug and identify the actual 
error.
   
   This PR updates the error handling of `hasAccess` calls to both log the 
exception and throw an exception that grizzly will return a proper response 
body for.
   
   Requests before this change:
   <img width="1311" alt="Screenshot 2024-05-22 at 9 59 05 AM" 
src="https://github.com/apache/pinot/assets/50119799/3a80fe19-563c-417a-a277-f7a862866075";>
   
   Requests after this change:
   <img width="966" alt="Screenshot 2024-05-22 at 11 11 37 PM" 
src="https://github.com/apache/pinot/assets/50119799/f8469be8-941c-4b2f-9765-9a94e08f662b";>


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