Riza Suminto has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/21420 )

Change subject: IMPALA-13020 (part 2): Split out external vs internal Thrift 
max message size
......................................................................


Patch Set 2:

(4 comments)

Please also double check with testing methods mentioned in 
http://gerrit.cloudera.org:8080/19179 (IMPALA-11669: (addendum) Set 
TConfiguration in TMemoryBuffer).

http://gerrit.cloudera.org:8080/#/c/21420/1/be/src/common/init.cc
File be/src/common/init.cc:

http://gerrit.cloudera.org:8080/#/c/21420/1/be/src/common/init.cc@548
PS1, Line 548:    ThriftDefaultMaxMessageSize()));
> It's defined as an int64 gflag, so gflags is parsing it with the right data
Ok, ThriftDefaultMaxMessageSize() is the minimum value. Make sense to me.


http://gerrit.cloudera.org:8080/#/c/21420/1/be/src/rpc/authentication.cc
File be/src/rpc/authentication.cc:

http://gerrit.cloudera.org:8080/#/c/21420/1/be/src/rpc/authentication.cc@1350
PS1, Line 1350:
              :   // This function is called immediately prior to sasl_client_
> Changed this into a function that verifies the max message size has been in
Done


http://gerrit.cloudera.org:8080/#/c/21420/1/be/src/rpc/thrift-server.cc
File be/src/rpc/thrift-server.cc:

http://gerrit.cloudera.org:8080/#/c/21420/1/be/src/rpc/thrift-server.cc@288
PS1, Line 288: is_external_facing_(is_external_facing)
> I coded this up and ended up not liking it very much. ThriftServer is a lib
Ack


http://gerrit.cloudera.org:8080/#/c/21420/2/be/src/rpc/thrift-util.cc
File be/src/rpc/thrift-util.cc:

http://gerrit.cloudera.org:8080/#/c/21420/2/be/src/rpc/thrift-util.cc@94
PS2, Line 94:
            : // The ThriftSerializer uses the DefaultInternalTConfiguration() 
with the higher limit,
            : // because this is used on our internal Thrift structures.
            : ThriftSerializer::ThriftSerializer(bool compact, int 
initial_buffer_size)
Can you update SerDeBuffer100MB test to cover this change?



--
To view, visit http://gerrit.cloudera.org:8080/21420
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib9a649ef49a8a99c7bd9a1b73c37c4c621661311
Gerrit-Change-Number: 21420
Gerrit-PatchSet: 2
Gerrit-Owner: Joe McDonnell <joemcdonn...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <joemcdonn...@cloudera.com>
Gerrit-Reviewer: Michael Smith <michael.sm...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com>
Gerrit-Reviewer: Riza Suminto <riza.sumi...@cloudera.com>
Gerrit-Comment-Date: Thu, 16 May 2024 02:14:52 +0000
Gerrit-HasComments: Yes

Reply via email to