mirror of
https://github.com/apache/impala.git
synced 2026-02-01 21:00:29 -05:00
The dense format of runtime profile print instance names in single long lines. It is hard to observe the instance names, especially when a fragment has many instances. This patch fixes the issue by breaking the list into multiple lines, one line per instance. We also prefix the instance names with an index number for easy matching against pretty-printed counters, events, and info strings. Testing: - Fix and pass observability/test_profile_tool.py. - Manually verify that impala-profile-tool prints the instance names in multiple lines. Change-Id: I03908ed2b29e43e133bff92c0d6480f8c5342f31 Reviewed-on: http://gerrit.cloudera.org:8080/17816 Reviewed-by: Joe McDonnell <joemcdonnell@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
impala_profile_log_tpcds_compute_stats: An impala profile log with the main query and child queries for compute stats tpcds_parquet.store_sales This log has associated expected output files (with "expected") in the filename that were generated by impala-profile-tool with various output formats and verbosity levels. These are used in test_profile_tool.py. impala_profile_log_tpcds_compute_stats_v2: An impala profile log with the main query and child queries for compute stats tpcds_parquet.store_sales from an impalad running with --gen_experimental_profile=true. This log has associated expected output files (with "expected") in the filename that were generated by impala-profile-tool with various output formats and verbosity levels. These are used in test_profile_tool.py.