mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
Recently, we switched bin/run-workload.py to use HS2. It turns out that the HS2 client code is not producing the same data structure for the exec summary. report_benchmark_results.py relies on that data structure and fails for HS2. This changes the HS2 client code to use the same representation as the beeswax. There is already a function that does this conversion (build_summary_table_from_thrift) for our regular tests, so this reuses that function. Testing: - Ran bin/run-workload.py twice to produce json files and processed them with report_benchmark_results.py. This failed before the change and passed afterward. Change-Id: I0a041bdebe748b6b3a05b552584e0ca2327cff67 Reviewed-on: http://gerrit.cloudera.org:8080/23597 Reviewed-by: Riza Suminto <riza.suminto@cloudera.com> Reviewed-by: Michael Smith <michael.smith@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>