Qifan Chen has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/19121 )
Change subject: IMPALA-11617: Pool service should be made aware of processing cost limit ...................................................................... IMPALA-11617: Pool service should be made aware of processing cost limit IMPALA-11604 enables the planner to compute CPU usage for certain queries and to select suitable executor groups to run. The CPU usage is expressed as the total amount of data to be processed per query. This patch added the processing cost limit, which is the total amount of data that each executor group can handle, to the pool service. Testing: - Passed core run. - Verified that processing costs were shown on the admission and metrics pages of the Impala debug web server. Change-Id: I9bd2a7284eda47a969ef91e4be19f96d2af53449 Reviewed-on: http://gerrit.cloudera.org:8080/19121 Reviewed-by: Qifan Chen <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M be/src/scheduling/admission-controller.cc M be/src/scheduling/admission-controller.h M common/thrift/ImpalaInternalService.thrift M common/thrift/metrics.json M docs/topics/impala_admission_config.xml M fe/src/main/java/org/apache/impala/service/Frontend.java M fe/src/main/java/org/apache/impala/util/RequestPoolService.java M fe/src/test/java/org/apache/impala/util/TestRequestPoolService.java M fe/src/test/resources/llama-site-2-groups.xml M fe/src/test/resources/llama-site-test.xml M fe/src/test/resources/llama-site-test2.xml M fe/src/test/resources/mem-limit-test-llama-site.xml M fe/src/test/resources/minicluster-llama-site.xml M tests/common/resource_pool_config.py M tests/custom_cluster/test_executor_groups.py M www/admission_controller.tmpl 16 files changed, 106 insertions(+), 10 deletions(-) Approvals: Qifan Chen: Looks good to me, approved Impala Public Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/19121 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I9bd2a7284eda47a969ef91e4be19f96d2af53449 Gerrit-Change-Number: 19121 Gerrit-PatchSet: 6 Gerrit-Owner: Wenzhe Zhou <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Qifan Chen <[email protected]> Gerrit-Reviewer: Wenzhe Zhou <[email protected]>
