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

KMS JMX endpoint throws ClassNotFoundException

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.8.0
    • 2.9.0, 2.8.2
    • kms
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment