Wenzhe Zhou has submitted this change and it was merged. ( 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 cores required to process a query. This patch added the CPU core limit, which is the maximum CPU core available per node and coordinator for each executor group, to the pool service. Testing: - Passed core run. - Verified that CPU cores were shown on the admission and metrics pages of the Impala debug web server. Change-Id: Id4c5ee519ce7c329b06ac821283e215a3560f525 Reviewed-on: http://gerrit.cloudera.org:8080/19366 Reviewed-by: Andrew Sherman <asher...@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> --- M be/src/scheduling/admission-controller.cc M be/src/scheduling/admission-controller.h M common/thrift/Frontend.thrift 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 17 files changed, 217 insertions(+), 10 deletions(-) Approvals: Andrew Sherman: Looks good to me, approved Impala Public Jenkins: Verified -- 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: merged Gerrit-Change-Id: Id4c5ee519ce7c329b06ac821283e215a3560f525 Gerrit-Change-Number: 19366 Gerrit-PatchSet: 6 Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com> Gerrit-Reviewer: Abhishek Rawat <ara...@cloudera.com> Gerrit-Reviewer: Andrew Sherman <asher...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Kurt Deschler <kdesc...@cloudera.com> Gerrit-Reviewer: Riza Suminto <riza.sumi...@cloudera.com> Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>