Zoltan Borok-Nagy has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/25066


Change subject: PROTOTYPE IMPALA-15518: Use executor core count for default 
group
......................................................................

PROTOTYPE 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. 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). No
  new tests.

Change-Id: If7d76d6d7c78585949e293c6a98defe492087e17
Assisted-by: Claude Opus 5.5 (Claude Code)
---
M be/src/scheduling/cluster-membership-mgr.cc
M common/thrift/Frontend.thrift
M fe/src/main/java/org/apache/impala/service/Frontend.java
3 files changed, 23 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/66/25066/1
--
To view, visit http://gerrit.cloudera.org:8080/25066
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If7d76d6d7c78585949e293c6a98defe492087e17
Gerrit-Change-Number: 25066
Gerrit-PatchSet: 1
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>

Reply via email to