Quanlong Huang created IMPALA-13745:
---------------------------------------
Summary: Extends CloseImpalaOperation to support returning the
final profile
Key: IMPALA-13745
URL: https://issues.apache.org/jira/browse/IMPALA-13745
Project: IMPALA
Issue Type: New Feature
Components: Backend, Clients
Reporter: Quanlong Huang
We have different client RPCs to close a query or get the profile of it. If we
want to get the final profile, we'd better close the query first in case
coordinator is still handling profile updates from executors. However, after
closing the query, the profile might be discarded shortly in a busy cluster
that has lots of queries. Client might miss the chance to fetch the profile.
In HS2 protocol, Impala provides CloseImpalaOperation RPC which is currently
used to close a DML operation and return the DML summary.
{code}
// Same as HS2 CloseOperation but can return additional information.
TCloseImpalaOperationResp CloseImpalaOperation(1:TCloseImpalaOperationReq
req);{code}
We can consider extending it to close a query and return the final profile.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)