hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-13872) KMS JMX exception
Date Wed, 07 Dec 2016 20:34:59 GMT
John Zhuge created HADOOP-13872:
-----------------------------------

             Summary: KMS JMX exception
                 Key: HADOOP-13872
                 URL: https://issues.apache.org/jira/browse/HADOOP-13872
             Project: Hadoop Common
          Issue Type: Bug
          Components: kms
    Affects Versions: 3.0.0-alpha2
            Reporter: John Zhuge
            Assignee: John Zhuge
            Priority: Critical


Run KMS in pseudo distributed mode, point browser to http://localhost:16000/kms/jmx?user.name=kms,
got "HTTP Status 500 - Servlet execution threw an exception":
{noformat}
HTTP Status 500 - Servlet execution threw an exception

type Exception report

message Servlet execution threw an exception

description The server encountered an internal error that prevented it from fulfilling this
request.

exception

javax.servlet.ServletException: Servlet execution threw an exception
	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:141)
root cause

java.lang.NoClassDefFoundError: org/eclipse/jetty/server/handler/ContextHandler
	java.lang.ClassLoader.defineClass1(Native Method)
	java.lang.ClassLoader.defineClass(ClassLoader.java:760)
	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2946)
	org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1177)
	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1665)
	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1544)
	org.apache.hadoop.jmx.JMXJsonServlet.doGet(JMXJsonServlet.java:176)
	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:141)
root cause

java.lang.ClassNotFoundException: org.eclipse.jetty.server.handler.ContextHandler
	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1698)
	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1544)
	java.lang.ClassLoader.defineClass1(Native Method)
	java.lang.ClassLoader.defineClass(ClassLoader.java:760)
	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2946)
	org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1177)
	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1665)
	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1544)
	org.apache.hadoop.jmx.JMXJsonServlet.doGet(JMXJsonServlet.java:176)
	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:141)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.48 logs.
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message