Kurt Deschler has posted comments on this change. ( http://gerrit.cloudera.org:8080/24992 )
Change subject: IMPALA-15418: Add Bottleneck Summary to query profiles ...................................................................... Patch Set 1: (6 comments) http://gerrit.cloudera.org:8080/#/c/24992/1//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/24992/1//COMMIT_MSG@22 PS1, Line 22: Bottleneck Summary: 01:SCAN HDFS busy 18%, 02:HASH JOIN busy 9%, 00:SCAN HDFS busy 9% of execution time Please change the output to be have each bottleneck on a different line with a prefix so they can easily be parsed. Bottleneck 1: 18% 01:SCAN HDFS <REASON> Bottleneck 2: 9% 02:HASH JOIN <REASON> Bottleneck 3: 9% 00:SCAN HDFS <REASON> http://gerrit.cloudera.org:8080/#/c/24992/1/be/src/runtime/coordinator-backend-state.cc File be/src/runtime/coordinator-backend-state.cc: http://gerrit.cloudera.org:8080/#/c/24992/1/be/src/runtime/coordinator-backend-state.cc@686 PS1, Line 686: lock_guard Consider making this lockless using atomics if instance_stats_map is immutable. http://gerrit.cloudera.org:8080/#/c/24992/1/be/src/runtime/coordinator-backend-state.cc@690 PS1, Line 690: if (!instance_stats.completion_time_set_) continue; Can you eliminate the time_set flag since the code defaults to 0 anyway? http://gerrit.cloudera.org:8080/#/c/24992/1/be/src/runtime/coordinator.cc File be/src/runtime/coordinator.cc: http://gerrit.cloudera.org:8080/#/c/24992/1/be/src/runtime/coordinator.cc@134 PS1, Line 134: static Make these query options http://gerrit.cloudera.org:8080/#/c/24992/1/be/src/runtime/coordinator.cc@1431 PS1, Line 1431: Reserve memory outside of the lock http://gerrit.cloudera.org:8080/#/c/24992/1/be/src/util/summary-util.cc File be/src/util/summary-util.cc: http://gerrit.cloudera.org:8080/#/c/24992/1/be/src/util/summary-util.cc@167 PS1, Line 167: This function should be split to avoid sorting and formatting under the lock. If the nodes are not immutable, then the node info and fraction could be copied out into an intermediate structure. -- 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: 1 Gerrit-Owner: 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: Tue, 13 Oct 2026 01:14:37 +0000 Gerrit-HasComments: Yes
