hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rushabh S Shah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12027) Add KMS API to get service version and health check
Date Tue, 27 Jun 2017 18:08:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-12027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16065223#comment-16065223
] 

Rushabh S Shah commented on HDFS-12027:
---------------------------------------

I too am getting the CNF exception {{java.lang.ClassNotFoundException}}
{noformat}
SEVERE: Servlet.service() for servlet jmx-servlet threw exception
java.lang.ClassNotFoundException: org.mortbay.jetty.Handler
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1698)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1544)
	at org.apache.hadoop.jmx.JMXJsonServlet.doGet(JMXJsonServlet.java:174)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.hadoop.crypto.key.kms.server.KMSMDCFilter.doFilter(KMSMDCFilter.java:84)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:636)
	at org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter.doFilter(DelegationTokenAuthenticationFilter.java:294)
	at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:588)
	at org.apache.hadoop.crypto.key.kms.server.KMSAuthenticationFilter.doFilter(KMSAuthenticationFilter.java:129)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:610)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:503)
	at java.lang.Thread.run(Thread.java:745)
{noformat}

> Add KMS API to get service version and health check
> ---------------------------------------------------
>
>                 Key: HDFS-12027
>                 URL: https://issues.apache.org/jira/browse/HDFS-12027
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: kms
>            Reporter: patrick white
>            Priority: Minor
>
> Enhancement request, add an API to the Key Management Server which can be used for health
monitoring as well as programatic version checks, such as to return the service version identifier,
suggest this;
> GET http://HOST:PORT/kms/v1/key/kms_version
> This API would be useful for production monitoring tools to quickly do KMS instance reporting
(dashboards) and basic health checks, as part of overall monitoring of a Hadoop stack installation.
> Such an API would also be useful for debugging initial bring-up of a service instance,
such as validation of the KMS webserver and its interaction with ZK before the key manager(s)
are necessarily working. Currently i believe a valid key needs to be setup and available before
calls can return success.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message