[
https://issues.apache.org/jira/browse/LENS-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14572180#comment-14572180
]
Amareshwari Sriramadasu commented on LENS-477:
----------------------------------------------
[[email protected]], The plan is to implement /admin/healthstatus which
returns the status - see
https://dropwizard.github.io/metrics/3.1.0/manual/healthchecks/. The status
returned should be cumulative status of all services in Lens. For ex:
CubeMetastoreServiceImpl can say whether it is able to reach underlying
HiveMetastore server . QueryExecutionServiceImpl can say all its threads are
fine or anyone is down and more.
We have to list down all possible health-status report required and report the
same through api.
> Lens service health status
> --------------------------
>
> Key: LENS-477
> URL: https://issues.apache.org/jira/browse/LENS-477
> Project: Apache Lens
> Issue Type: Improvement
> Components: server
> Reporter: Amareshwari Sriramadasu
> Priority: Critical
> Labels: newbie
> Fix For: 2.2
>
>
> We should provide a way to know LensService's health.
> Right now we have rest end points for /queryapi, /metastore which simply
> returns service is up or not. It is not much useful, for ex: QuerySubmitter
> has died on the server, there is no way to know.
> We have another end point exposed /admin/healthstatus - which is not
> implemented right now. we can use this to report more status about how each
> service doing - is anything down/ is it loaded and so on.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)