Wenzhe Zhou has uploaded this change for review. ( http://gerrit.cloudera.org:8080/19366
Change subject: IMPALA-11617: Pool service should be made aware of cpu core limit ...................................................................... IMPALA-11617: Pool service should be made aware of cpu core 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 CPU core required to process a query. This patch added the CPU core limit, which is the maximum CPU core available for each executor group, to the pool service. Testing: - Passed core run. - Verified that CPU core was shown on the admission and metrics pages of the Impala debug web server. Change-Id: Id4c5ee519ce7c329b06ac821283e215a3560f525 --- 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, 103 insertions(+), 10 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/66/19366/1 -- To view, visit http://gerrit.cloudera.org:8080/19366 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Id4c5ee519ce7c329b06ac821283e215a3560f525 Gerrit-Change-Number: 19366 Gerrit-PatchSet: 1 Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com> Gerrit-Reviewer: Kurt Deschler <kdesc...@cloudera.com> Gerrit-Reviewer: Riza Suminto <riza.sumi...@cloudera.com>