Aleksandr Efimov has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/24895


Change subject: IMPALA-15382: Propagate request pool JNI errors
......................................................................

IMPALA-15382: Propagate request pool JNI errors

ResolveRequestPool() ignored the status from JniUtil::CallJniMethod()
and then inspected a default result. If Java threw during short-name
conversion or pool resolution, the client could see denied access
with an empty pool.

Return the JNI error before inspecting the result. Add a backend
regression test for short-name conversion failures.

Testing:
- AdmissionControllerTest.ResolveRequestPoolJniError

Change-Id: I89ea3edfa725e87ebc513b35308c45992e37896a
Assisted-by: gpt-5.6-sol (OpenAI Codex)
---
M be/src/scheduling/admission-controller-test.cc
M be/src/scheduling/request-pool-service.cc
2 files changed, 18 insertions(+), 0 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I89ea3edfa725e87ebc513b35308c45992e37896a
Gerrit-Change-Number: 24895
Gerrit-PatchSet: 1
Gerrit-Owner: Aleksandr Efimov <[email protected]>

Reply via email to