Aleksandr Efimov has posted comments on this change. ( http://gerrit.cloudera.org:8080/24992 )
Change subject: IMPALA-15418: Add Bottleneck Summary to query profiles ...................................................................... Patch Set 5: (2 comments) http://gerrit.cloudera.org:8080/#/c/24992/5/be/src/runtime/coordinator-backend-state.cc File be/src/runtime/coordinator-backend-state.cc: http://gerrit.cloudera.org:8080/#/c/24992/5/be/src/runtime/coordinator-backend-state.cc@694 PS5, Line 694: completion_time_ns >= 0 ? completion_time_ns : running_time_ns); Cancellation before `Coordinator::Wait()` leaves `completion_time_ns_` unset, so `exec_wall_time_ns` keeps growing. Reproduced on PS5 via HS2: after all fragments finished, reads 1.2s apart still added 1.2s; ordinary cancellation stayed stable. Could we freeze the elapsed time on this path? http://gerrit.cloudera.org:8080/#/c/24992/5/be/src/runtime/coordinator.cc File be/src/runtime/coordinator.cc: http://gerrit.cloudera.org:8080/#/c/24992/5/be/src/runtime/coordinator.cc@1914 PS5, Line 1914: if (node.exec_stats.empty()) continue; `exec_stats` is preallocated, so `empty()` does not detect missing reports. An unreported node gets `query_time_frac=0` and can enter the bottleneck list with a zero threshold. Could we leave the fraction unset and skip ranking until `latency_ns` is reported? -- To view, visit http://gerrit.cloudera.org:8080/24992 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I6d63cdb9dca24981054bf7c524c1bc3cd3167452 Gerrit-Change-Number: 24992 Gerrit-PatchSet: 5 Gerrit-Owner: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Aleksandr Efimov <[email protected]> Gerrit-Reviewer: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Kurt Deschler <[email protected]> Gerrit-Reviewer: Wenzhe Zhou <[email protected]> Gerrit-Comment-Date: Thu, 29 Oct 2026 22:02:25 +0000 Gerrit-HasComments: Yes
