Vincent Tran has uploaded this change for review. ( http://gerrit.cloudera.org:8080/11383
Change subject: IMPALA-6758: Add metric for current catalog version to catalog ...................................................................... IMPALA-6758: Add metric for current catalog version to catalog This change adds a new metric to the impalad web UI under the MetricGroup catalog: - catalog.age It tracks the elapsed time since the last consumed catalog topic update was generated. Testing: * Manually verified that the metric displays in the impalad web UI and that it displays the expected age of the consumed catalog topic update. * Added a web server e2e test to verify that the impalad web UI returns a /metrics page containing the new metric name. Change-Id: I82e51e8cd2f6a77c588914242684b885816aa0a0 --- M be/src/service/impala-server.cc M be/src/service/impala-server.h M be/src/util/impalad-metrics.cc M be/src/util/impalad-metrics.h M common/thrift/CatalogObjects.thrift M common/thrift/Frontend.thrift M common/thrift/metrics.json M fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java M fe/src/main/java/org/apache/impala/catalog/ImpaladCatalog.java M tests/webserver/test_web_pages.py 10 files changed, 50 insertions(+), 4 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/83/11383/1 -- To view, visit http://gerrit.cloudera.org:8080/11383 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I82e51e8cd2f6a77c588914242684b885816aa0a0 Gerrit-Change-Number: 11383 Gerrit-PatchSet: 1 Gerrit-Owner: Vincent Tran <vtt...@cloudera.com>