Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/23470 )
Change subject: IMPALA-14468: Don't generate errors during InitWorkloadManagement() when everything goes fine ...................................................................... IMPALA-14468: Don't generate errors during InitWorkloadManagement() when everything goes fine When Workload management is used first, CatalogD reports error "Table not found: sys.impala_query_log". (also for sys.impala_query_live) It is because during InitWorkloadManagement() we issue a ResetMetadata() request against sys.impala_query_log to retrieve its schema version. If the request fails with TableNotFound, we create the table. In other words, the current initialization of workload management generates error messages even when everything is going fine, and this can confuse users. Instead of calling ResetMetadata() we can test the existence of the workload management tables (sys.impala_query_log and sys.impala_query_live) first. Testing * tested manually that the error logs disappear Change-Id: Ic7f7c92bda57d9fdc2185bf4ef8fd4f09aea0879 Reviewed-on: http://gerrit.cloudera.org:8080/23470 Reviewed-by: Michael Smith <michael.sm...@cloudera.com> Reviewed-by: Riza Suminto <riza.sumi...@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> --- M be/src/catalog/workload-management-init.cc 1 file changed, 15 insertions(+), 15 deletions(-) Approvals: Michael Smith: Looks good to me, but someone else must approve Riza Suminto: Looks good to me, approved Impala Public Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/23470 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ic7f7c92bda57d9fdc2185bf4ef8fd4f09aea0879 Gerrit-Change-Number: 23470 Gerrit-PatchSet: 3 Gerrit-Owner: Zoltan Borok-Nagy <borokna...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Michael Smith <michael.sm...@cloudera.com> Gerrit-Reviewer: Riza Suminto <riza.sumi...@cloudera.com> Gerrit-Reviewer: Zoltan Borok-Nagy <borokna...@cloudera.com>