Yida Wu has uploaded a new patch set (#6) to the change originally created by Zoltan Borok-Nagy. ( https://gerrit.cloudera.org/25066 )
Change subject: IMPALA-15518: Use executor core count for default group ...................................................................... IMPALA-15518: Use executor core count for default group With only the default executor group, the frontend assumed Integer.MAX_VALUE cores per executor. With COMPUTE_PROCESSING_COST=true, per-node parallelism was then capped only by MAX_FRAGMENT_INSTANCES_PER_NODE (128), and large queries failed on thread or memory limits. The coordinator now sets num_cores_per_executor of the default group to the smallest cpu_num_cores that its executors report, and the frontend keeps it, also when the default group sits next to custom groups. With a single group set, the core count only caps parallelism: the CPU check no longer rejects the query. Testing: - TPC-DS SF100, 5 executors, COMPUTE_PROCESSING_COST=true, 8 cores assumed per executor: 0 failed queries instead of 6. - Not measured with the reported count (16 logical cores there). - Added ProcessingCostDefaultGroupCoresTest, which plans the TPC-DS queries with the 3TB stats on a default group of 10 executors with 16 cores, and checks that no fragment plans more than 16 instances per executor. - Added cases to the PopulateExecutorMembershipRequest BE test for executors with and without reported cores. - Added a case to ExecutorGroupSetSelectionTest for a default group next to custom groups. Change-Id: If7d76d6d7c78585949e293c6a98defe492087e17 Assisted-by: Claude Opus 5.5 (Claude Code) --- M be/src/scheduling/cluster-membership-mgr-test.cc M be/src/scheduling/cluster-membership-mgr.cc M be/src/scheduling/cluster-membership-mgr.h M common/thrift/Frontend.thrift M fe/src/main/java/org/apache/impala/service/Frontend.java A fe/src/test/java/org/apache/impala/planner/ProcessingCostDefaultGroupCoresTest.java M fe/src/test/java/org/apache/impala/service/ExecutorGroupSetSelectionTest.java 7 files changed, 231 insertions(+), 4 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/66/25066/6 -- To view, visit https://gerrit.cloudera.org/25066 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: If7d76d6d7c78585949e293c6a98defe492087e17 Gerrit-Change-Number: 25066 Gerrit-PatchSet: 6 Gerrit-Owner: Zoltan Borok-Nagy <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Yida Wu <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
