Dimitris Tsirogiannis has posted comments on this change. ( http://gerrit.cloudera.org:8080/8949 )
Change subject: IMPALA-6075: Add Impala daemon metric for catalog version. ...................................................................... Patch Set 1: (2 comments) http://gerrit.cloudera.org:8080/#/c/8949/1/be/src/service/impala-server.cc File be/src/service/impala-server.cc: http://gerrit.cloudera.org:8080/#/c/8949/1/be/src/service/impala-server.cc@1061 PS1, Line 1061: ImpaladMetrics::CATALOG_CURR_VER->set_value(catalog_update_info_.catalog_version); Are you sure you don't need the catalog_version_lock_ to access this here? http://gerrit.cloudera.org:8080/#/c/8949/1/be/src/util/impalad-metrics.h File be/src/util/impalad-metrics.h: http://gerrit.cloudera.org:8080/#/c/8949/1/be/src/util/impalad-metrics.h@113 PS1, Line 113: CATALOG_CURR_VER Why not exposing all the information in CatalogUpdateVersionInfo? -- To view, visit http://gerrit.cloudera.org:8080/8949 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Id2307eb434561ed74ff058106541c0ebda017d97 Gerrit-Change-Number: 8949 Gerrit-PatchSet: 1 Gerrit-Owner: Pranay Singh Gerrit-Reviewer: Dimitris Tsirogiannis <dtsirogian...@cloudera.com> Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com> Gerrit-Comment-Date: Sat, 13 Jan 2018 00:33:23 +0000 Gerrit-HasComments: Yes