apache / pinot

Apache Pinot - A realtime distributed OLAP datastore
https://pinot.apache.org/
Apache License 2.0
5.52k stars 1.29k forks source link

Access Denied error message, errorCode 180 is not clear in UI. #9932

Open JasonLeeWeiHern opened 1 year ago

JasonLeeWeiHern commented 1 year ago

I hit this error when upon querying a table using the UI.

[ { "message":null. "errorCode":180 } ]

This message was unclear to me what the issue really is. I went into the logs and realized the broker is sending these logs: INFO [BaseBrokerRequestHandler] [jersey-server-managed-async-executor-1] Access denied for requestId 111. Upon seeing this log message, I realized that I have accidentally configured ACL on my broker. which is throwing an exception. It could really help if there could be a clearer error message like access denied etc.

xiangfu0 commented 1 year ago

Thanks for reporting this! @apucher can you check if we can deliver a better message here.