sarvekshayr commented on PR #10160: URL: https://github.com/apache/ozone/pull/10160#issuecomment-4377000421
> Would it be possible to simply print `AccessControlException: Client cannot authenticate via:[KERBEROS]` or even rely on `AccessControlException`'s default message and print `Permission denied`? Agreed, just the `AccessControlException` with a message across all admin commands would be clear and concise. Similar to below shell command. ``` bash-5.1$ ozone sh volume create vol1 org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS] bash-5.1$ ozone sh bucket create vol1/buck1 org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS] ``` -- 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]
