Gokul Kolady has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/24502 )

Change subject: IMPALA-15107: Support Direct Thrift Upload for AI Profile 
Analyzer
......................................................................


Patch Set 8:

(6 comments)

http://gerrit.cloudera.org:8080/#/c/24502/6/be/src/service/impala-http-handler.cc
File be/src/service/impala-http-handler.cc:

http://gerrit.cloudera.org:8080/#/c/24502/6/be/src/service/impala-http-handler.cc@237
PS6, Line 237:         MakeCallback(this, 
&ImpalaHttpHandler::QueryAiAnalysisHandler), false);
             :
             :     // An uploaded thrift profile needs a larger POST body than 
the global limit allows.
             :     webser
> Is there a specific need for this separate query_ai_analysis_generate_callb
Done


http://gerrit.cloudera.org:8080/#/c/24502/6/be/src/service/impala-http-handler.cc@536
PS6, Line 536:     // The body is the archive itself unless it carries a 
'thrift_profile' field. A
> Can we make this check stricter? Right now, if raw uploaded data happens to
Done


http://gerrit.cloudera.org:8080/#/c/24502/6/be/src/service/impala-http-handler.cc@537
PS6, Line 537:     // base64 archive has no '&' and no '=' outside its padding, 
so it cannot look like
> This parser can cut off valid base64 profile data because it splits values
Done


http://gerrit.cloudera.org:8080/#/c/24502/6/be/src/service/query-profile-ai-analysis-test.cc
File be/src/service/query-profile-ai-analysis-test.cc:

http://gerrit.cloudera.org:8080/#/c/24502/6/be/src/service/query-profile-ai-analysis-test.cc@145
PS6, Line 145:
> It would be good to have a happy path test case that uses an actual binary
Done


http://gerrit.cloudera.org:8080/#/c/24502/6/be/src/service/query-profile-ai-analysis.cc
File be/src/service/query-profile-ai-analysis.cc:

http://gerrit.cloudera.org:8080/#/c/24502/6/be/src/service/query-profile-ai-analysis.cc@920
PS6, Line 920:
> There is the potential here for a denial of service attack if the client up
Done


http://gerrit.cloudera.org:8080/#/c/24502/6/be/src/util/runtime-profile.h
File be/src/util/runtime-profile.h:

http://gerrit.cloudera.org:8080/#/c/24502/6/be/src/util/runtime-profile.h@746
PS6, Line 746:   /// Creates a profile from an 'archive_str' created by 
SerializeToArchiveString().
             :   static Status CreateFromAr
> It should be possible to eliminate this function overload.
Done



--
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: comment
Gerrit-Change-Id: Iff05c3cde7b34a56e31f020611cc33ff4e02aa32
Gerrit-Change-Number: 24502
Gerrit-PatchSet: 8
Gerrit-Owner: Gokul Kolady <[email protected]>
Gerrit-Reviewer: Abhishek Rawat <[email protected]>
Gerrit-Reviewer: Anubhav Jindal <[email protected]>
Gerrit-Reviewer: Gokul Kolady <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Yida Wu <[email protected]>
Gerrit-Comment-Date: Wed, 28 Oct 2026 22:19:39 +0000
Gerrit-HasComments: Yes

Reply via email to