Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14024

KMS JMX endpoint throws ClassNotFoundException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.9.0, 2.8.2
    • Component/s: kms
    • Labels:
      None

      Description

      Throws like this:

      </pre></p><p><b>root cause</b> <pre>java.lang.ClassNotFoundException: org.mortbay.jetty.servlet.Context
      	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1698)
      	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1544)
      	org.apache.hadoop.jmx.JMXJsonServlet.doGet(JMXJsonServlet.java:174)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
      	org.apache.hadoop.crypto.key.kms.server.KMSMDCFilter.doFilter(KMSMDCFilter.java:84)
      	org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:636)
      	org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter.doFilter(DelegationTokenAuthenticationFilter.java:304)
      	org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:588)
      	org.apache.hadoop.crypto.key.kms.server.KMSAuthenticationFilter.doFilter(KMSAuthenticationFilter.java:129)
      

      I tried out branch-2.6 and it seems to be okay, so something changed between 2.6.x and 2.8.x/branch-2

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jzhuge John Zhuge
                Reporter:
                andrew.wang Andrew Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: