Hello Yida Wu, Abhishek Rawat, Jason Fehr, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/24965
to look at the new patch set (#13).
Change subject: IMPALA-13965: Enforce quotas without executors
......................................................................
IMPALA-13965: Enforce quotas without executors
Admission could return early when no executor group was available.
That skipped quota rejection on submission and let queued requests
overflow user and group limits until executors came online. This change
enforces quota in the empty-group path and tracks queued-load ownership
so reject, timeout, and cancel paths decrement exactly once.
Adds regression coverage in admission-controller unit tests and
custom-cluster executor-group tests for no-executor quota enforcement
and queued-timeout cleanup for explicit user, wildcard user, and group
quotas.
Queue timeout precedence matters here: pool-level
impala.admission-control.pool-queue-timeout-ms overrides
queue_wait_timeout_ms. To avoid changing shared
llama-site-test2.xml behavior, this change adds two dedicated files:
llama-site-test2-long-timeout.xml and
llama-site-test2-short-timeout.xml. Both are copies of
llama-site-test2.xml, and only differ on queueD/queueE timeout values
(60000 in long-timeout, 2000 in short-timeout).
Also add explicit asserts on wait_for_finished_timeout() return values
in the no-executor tests.
Testing:
- python3 bin/jenkins/critique-gerrit-review.py --dryrun
- On Linux worktree IMPALA-13965-comments:
- bin/impala-py.test tests/custom_cluster/test_executor_groups.py -k
'user_quota_applies_without_executors or
wildcard_user_quota_applies_without_executors or
group_quota_applies_without_executors or
timed_out_queue_releases_user_quota or
timed_out_queue_releases_group_quota or
timed_out_queue_releases_wildcard_user_quota'
Change-Id: I84024a8d11911b639679029e34445ca52902ab93
Assisted-by: GPT-5.3 (Cursor)
---
M be/src/scheduling/admission-controller-test.cc
M be/src/scheduling/admission-controller.cc
M be/src/scheduling/admission-controller.h
A fe/src/test/resources/llama-site-test2-long-timeout.xml
A fe/src/test/resources/llama-site-test2-short-timeout.xml
M tests/custom_cluster/test_executor_groups.py
6 files changed, 495 insertions(+), 5 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/65/24965/13
--
To view, visit http://gerrit.cloudera.org:8080/24965
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I84024a8d11911b639679029e34445ca52902ab93
Gerrit-Change-Number: 24965
Gerrit-PatchSet: 13
Gerrit-Owner: Anubhav Jindal <[email protected]>
Gerrit-Reviewer: Abhishek Rawat <[email protected]>
Gerrit-Reviewer: Anubhav Jindal <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Yida Wu <[email protected]>