Quanlong Huang has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/21261 )

Change subject: IMPALA-10052: Expose daemon health endpoint for statestore and 
catalog
......................................................................

IMPALA-10052: Expose daemon health endpoint for statestore and catalog

This change exposes the daemon health of statestored and catalogd 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). This is consistent with the endpoint added
for impalads in IMPALA-8895.

Testing:
- Extended test in test_web_pages.py

Change-Id: I7714734df8e50dabbbebcb77a86a5a00bd13bf7c
Reviewed-on: http://gerrit.cloudera.org:8080/16295
Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Reviewed-on: http://gerrit.cloudera.org:8080/21261
Reviewed-by: Zihao Ye <eyiz...@163.com>
Tested-by: Quanlong Huang <huangquanl...@gmail.com>
---
M be/src/catalog/catalog-server.cc
M be/src/catalog/catalog-server.h
M be/src/catalog/catalogd-main.cc
M be/src/statestore/statestore.cc
M be/src/statestore/statestore.h
M tests/webserver/test_web_pages.py
6 files changed, 64 insertions(+), 6 deletions(-)

Approvals:
  Zihao Ye: Looks good to me, approved
  Quanlong Huang: Verified

--
To view, visit http://gerrit.cloudera.org:8080/21261
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: branch-3.4.2
Gerrit-MessageType: merged
Gerrit-Change-Id: I7714734df8e50dabbbebcb77a86a5a00bd13bf7c
Gerrit-Change-Number: 21261
Gerrit-PatchSet: 2
Gerrit-Owner: Quanlong Huang <huangquanl...@gmail.com>
Gerrit-Reviewer: Abhishek Rawat <ara...@cloudera.com>
Gerrit-Reviewer: Andrew Sherman <asher...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <joemcdonn...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com>
Gerrit-Reviewer: Zihao Ye <eyiz...@163.com>

Reply via email to