Lars Volker has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/14146


Change subject: IMPALA-8895: Expose daemon health endpoint
......................................................................

IMPALA-8895: Expose daemon health endpoint

This change exposes the daemon health of an impalad via an HTTP endpoint
'/healthz'. If the server is healthy, this endpoint will return HTTP
code 200 (OK). If it is unhealthy, it will return 503 (Service
Unavailable). With this change, the endpoint is equivalent to the
'impala-server.ready' metric.

Testing: I added a test in test_web_pages.py and observed manually that
the endpoint returns 503 while starting up.

Change-Id: I05889e21bbb1b97b23fad9928b9e61e5dbff2615
---
M be/src/service/impala-http-handler.cc
M be/src/service/impala-http-handler.h
M be/src/service/impala-server.cc
M be/src/service/impala-server.h
M be/src/util/metrics.cc
M be/src/util/metrics.h
M be/src/util/webserver.cc
M be/src/util/webserver.h
M tests/webserver/test_web_pages.py
9 files changed, 47 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/46/14146/1
--
To view, visit http://gerrit.cloudera.org:8080/14146
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I05889e21bbb1b97b23fad9928b9e61e5dbff2615
Gerrit-Change-Number: 14146
Gerrit-PatchSet: 1
Gerrit-Owner: Lars Volker <[email protected]>

Reply via email to