Attila Doroszlai created HDDS-10803:
---------------------------------------

             Summary: HttpServer fails to start with wildcard principal
                 Key: HDDS-10803
                 URL: https://issues.apache.org/jira/browse/HDDS-10803
             Project: Apache Ozone
          Issue Type: Bug
          Components: Security
            Reporter: Attila Doroszlai
            Assignee: Attila Doroszlai


Recon startup fails with {{ozone.recon.http.auth.kerberos.principal=*}} due to:

{code}
recon_1     | Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/kerby/kerberos/kerb/keytab/Keytab
recon_1     |   at 
org.apache.hadoop.security.authentication.util.KerberosUtil.getPrincipalNames(KerberosUtil.java:238)
recon_1     |   at 
org.apache.hadoop.security.authentication.util.KerberosUtil.getPrincipalNames(KerberosUtil.java:257)
recon_1     |   at 
org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler.init(KerberosAuthenticationHandler.java:163)
recon_1     |   at 
org.apache.hadoop.security.authentication.server.AuthenticationFilter.initializeAuthHandler(AuthenticationFilter.java:194)
recon_1     |   at 
org.apache.hadoop.security.authentication.server.AuthenticationFilter.init(AuthenticationFilter.java:180)
...
recon_1     |   at 
org.apache.hadoop.hdds.server.http.HttpServer2.start(HttpServer2.java:1184)
recon_1     |   at 
org.apache.hadoop.hdds.server.http.BaseHttpServer.start(BaseHttpServer.java:322)
recon_1     |   at 
org.apache.hadoop.ozone.recon.ReconServer.start(ReconServer.java:219)
{code}

The same problem applies to other Ozone services + the corresponding HTTP auth 
principal config.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to