Anubhav Jindal has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/24965 )

Change subject: IMPALA-13965: Enforce quotas without executors
......................................................................


Patch Set 13:

(6 comments)

http://gerrit.cloudera.org:8080/#/c/24965/12//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/24965/12//COMMIT_MSG@23
PS12, Line 23: queue_wait_timeout_ms. To avoid changing shared
> It is better to mention adding llama-site-test2-short-timeout.xml, and what
Agreed. I updated the commit message to explicitly mention the new file and 
describe exactly how it differs from llama-site-test2.xml


http://gerrit.cloudera.org:8080/#/c/24965/12//COMMIT_MSG@11
PS12, Line 11: 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 dif
> nit. several commit message lines are over 72 characters.
Thanks, fixed.


http://gerrit.cloudera.org:8080/#/c/24965/12/fe/src/test/resources/llama-site-test2.xml
File fe/src/test/resources/llama-site-test2.xml:

http://gerrit.cloudera.org:8080/#/c/24965/12/fe/src/test/resources/llama-site-test2.xml@80
PS12, Line 80:   <property>
             :     
<name>impala.admission-control.pool-queue-timeout-ms.root.queueF</name>
             :     <value>600000</value>
             :   </property>
             : </configuration>
             :
             :
             :
             :
> It seems no, but could you double check if any other tests might use the qu
Great point. To avoid side effects, I reverted queueD/queueE timeout changes in 
shared llama-site-test2.xml and isolated them in dedicated long/short timeout 
llama-site files used only by these tests.


http://gerrit.cloudera.org:8080/#/c/24965/12/tests/custom_cluster/test_executor_groups.py
File tests/custom_cluster/test_executor_groups.py:

http://gerrit.cloudera.org:8080/#/c/24965/12/tests/custom_cluster/test_executor_groups.py@370
PS12, Line 370: assert clients[i].wait_for_finished_timeout(hand
> wait_for_finished_timeout won't raise any issue when the query fails or doe
Good catch. I added explicit asserts on wait_for_finished_timeout() return 
values in these no-executor tests.


http://gerrit.cloudera.org:8080/#/c/24965/12/tests/custom_cluster/test_executor_groups.py@414
PS12, Line 414: assert first_client.wait_for_finished_timeout(first_hand
> Same comment as above, better assert the result
Agreed, updated this call site too with an explicit assert.


http://gerrit.cloudera.org:8080/#/c/24965/12/tests/custom_cluster/test_executor_groups.py@461
PS12, Line 461:         assert clients[i].wait_for_finished_timeout(hand
> Same comment as above, better assert the result
Done



--
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: comment
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]>
Gerrit-Comment-Date: Mon, 26 Oct 2026 22:56:25 +0000
Gerrit-HasComments: Yes

Reply via email to