adoroszlai commented on PR #10160: URL: https://github.com/apache/ozone/pull/10160#issuecomment-4376896773
Thanks @sravani-revuri for working on this. I think these messages are still inconsistent: > ``` > bash-5.1$ ozone admin container info 1 > Unable to retrieve the container details for 1. DestHost:destPort scm1.org:9860 , LocalHost:localPort scm1.org/172.25.0.116:0. Failed on local exception: java.io.IOException: org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[KERBEROS] > > bash-5.1$ ozone admin container create > java.security.cert.CertificateException: java.io.IOException: Client cannot authenticate via:[KERBEROS] > > bash-5.1$ ozone admin safemode status > Service ID: scmservice > Could not determine leader node. DestHost:destPort scm1.org:9860 , LocalHost:localPort scm1.org/172.25.0.116:0. Failed on local exception: java.io.IOException: org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[KERBEROS] > ``` - different combinations of exceptions (`IOException: AccessControlException`, `CertificateException: IOException`) - confusing extra messages (`Could not determine leader node`, `Failed on local exception`) - unnecessary details present/absent (`DestHost:destPort scm1.org:9860 , LocalHost:localPort scm1.org/172.25.0.116:0.`) Would it be possible to simply print `AccessControlException: Client cannot authenticate via:[KERBEROS]` or similar? -- 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]
