[ https://issues.apache.org/jira/browse/HDFS-12027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16061210#comment-16061210 ]
patrick white commented on HDFS-12027: -------------------------------------- Thanks Xiao, i was not aware of the jmx call support yet. I tried that real quick and got servlet CNF exceptions, so i need to look further. Sounds promising though, especially if available to clients (which of course brings up security questions). > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org