Hello Jason Fehr, Michael Smith, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/23396

to look at the new patch set (#3).

Change subject: IMPALA-14411: enable_workload_mgmt should work with V2 profile
......................................................................

IMPALA-14411: enable_workload_mgmt should work with V2 profile

Impalad crash (hitting DCHECK) when both enable_workload_mgmt and
gen_experimental_profile enabled. This is because lambda function
process_exec_profile expect "Averaged Fragment" node exist in query
profile. But it is actually not exist in V2 query profile.

This patch fix the issue by gathering ScratchBytesWritten,
ScannerIoWaitTime, and DataCacheHitBytes counters differently in V2
profile.

Testing:
- Add TestWorkloadManagementInitWait::test_with_experimental_profile.
- Manually start minicluster with both enable_workload_mgmt and
  gen_experimental_profile flag enabled. Run few queries and confirm no
  crash happen. Also verify that the columns of sys.impala_query_log
  that summarize the scan node counters are correct.

Change-Id: Iccb4ad9279b0d66479b1e7816ffc732028e71734
---
M be/src/service/query-state-record.cc
M tests/custom_cluster/test_workload_mgmt_init.py
2 files changed, 65 insertions(+), 19 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/96/23396/3
--
To view, visit http://gerrit.cloudera.org:8080/23396
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Iccb4ad9279b0d66479b1e7816ffc732028e71734
Gerrit-Change-Number: 23396
Gerrit-PatchSet: 3
Gerrit-Owner: Riza Suminto <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>

Reply via email to