Tim Armstrong has posted comments on this change. Change subject: IMPALA-5756: start memory maintenance thread after metric creation ......................................................................
Patch Set 1: (3 comments) http://gerrit.cloudera.org:8080/#/c/7573/1/be/src/common/init.cc File be/src/common/init.cc: Line 250: memory_maintenance_thread.reset( > What happened to the is_test() logic? We don't call this function from backend or frontend tests now so it isn't needed. Line 251: new Thread("common", "memory-maintenance-thread", &MemoryMaintenanceThread)); > is there some DCHECK we can put on line 250? (something like AggregateMetri Good idea - that immediately repro'd the bug. http://gerrit.cloudera.org:8080/#/c/7573/1/be/src/service/impalad-main.cc File be/src/service/impalad-main.cc: Line 93: Status status = exec_env.StartServices(); > Isn't this where RegisterMemoryMetrics() is called? Yes, you're absolutely right. -- To view, visit http://gerrit.cloudera.org:8080/7573 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ibb7337a68547b4d660f3100b04df2c20befb044c Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Tim Armstrong <[email protected]> Gerrit-Reviewer: Henry Robinson <[email protected]> Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Tim Armstrong <[email protected]> Gerrit-HasComments: Yes
