Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/20535 )
Change subject: [CLI] Set rpc_max_message_size to accommodate huge response payloads ...................................................................... [CLI] Set rpc_max_message_size to accommodate huge response payloads It has been observed that for certain Kudu CLI commands response payload size is too big to fit in the current default RPC message size limit of 50MiB. This patch adds logic to set the value of RPC message max size for Kudu CLI based on maximum available memory or maximum possible RPC message size limit of 2GiB. This would help accommodate that extra heavy response payload. Along with increasing default value of rpc_max_message_size, default value of tablet_transaction_memory_limit_mb is also set to at least same value as rpc_max_message_size to pass the group validation check. This change of default flag values is only applicable to Kudu CLI tool. Change-Id: Ic27b494bc1fde46c2a095c7291fc840a98429068 Reviewed-on: http://gerrit.cloudera.org:8080/20535 Tested-by: Kudu Jenkins Reviewed-by: Alexey Serbin <[email protected]> --- M src/kudu/tools/tool_main.cc M src/kudu/util/process_memory.cc M src/kudu/util/process_memory.h 3 files changed, 51 insertions(+), 4 deletions(-) Approvals: Kudu Jenkins: Verified Alexey Serbin: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/20535 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ic27b494bc1fde46c2a095c7291fc840a98429068 Gerrit-Change-Number: 20535 Gerrit-PatchSet: 5 Gerrit-Owner: Ashwani Raina <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Ashwani Raina <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120)
