Aleksandr Efimov created IMPALA-15382:
-----------------------------------------

             Summary: Request pool resolution ignores JNI errors
                 Key: IMPALA-15382
                 URL: https://issues.apache.org/jira/browse/IMPALA-15382
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
            Reporter: Aleksandr Efimov


RequestPoolService::ResolveRequestPool() stores the status returned by 
JniUtil::CallJniMethod() but does not check it before reading the result.

If the Java call throws while converting a user principal or resolving a pool, 
the default result is read instead. The client can then receive a misleading 
denied-access error with an empty resolved pool, while the original JNI error 
is lost.

Return the JNI status before inspecting the result and add a backend regression 
test that verifies a short-name conversion error is propagated.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to