Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-10803

HttpServer fails to start with wildcard principal

    XMLWordPrintableJSON

Details

    Description

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

      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)
      

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

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: