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/24502
to look at the new patch set (#2).
Change subject: IMPALA-15107: Support Direct Thrift Upload for AI Profile
Analyzer
......................................................................
IMPALA-15107: Support Direct Thrift Upload for AI Profile Analyzer
This change adds a CLI-only upload path to /query_ai_analysis_generate
for archived thrift profiles when query_id is not provided, while
keeping the existing Web UI query_id flow unchanged. The handler now
accepts POSTed thrift profile content, converts it to analyzer-ready
JSON using shared runtime-profile conversion logic, and runs the same
redaction and AI analysis pipeline as the in-memory profile path.
Testing:
Unit tests were added in query-profile-ai-analysis-test.cc to cover
successful thrift-archive-to-JSON conversion and invalid input
handling. The feature was also validated end-to-end on a local Impala
setup by posting a thrift profile through the new CLI flow and
confirming a successful analysis response.
Change-Id: Iff05c3cde7b34a56e31f020611cc33ff4e02aa32
---
M be/src/kudu/util/web_callback_registry.h
M be/src/service/impala-http-handler.cc
M be/src/service/impala-http-handler.h
M be/src/service/query-profile-ai-analysis-test.cc
M be/src/service/query-profile-ai-analysis.cc
M be/src/service/query-profile-ai-analysis.h
M be/src/util/runtime-profile-archive.cc
M be/src/util/runtime-profile.cc
M be/src/util/runtime-profile.h
M be/src/util/webserver.cc
10 files changed, 454 insertions(+), 33 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/02/24502/2
--
To view, visit http://gerrit.cloudera.org:8080/24502
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Iff05c3cde7b34a56e31f020611cc33ff4e02aa32
Gerrit-Change-Number: 24502
Gerrit-PatchSet: 2
Gerrit-Owner: Gokul Kolady <[email protected]>
Gerrit-Reviewer: Abhishek Rawat <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Yida Wu <[email protected]>