Ashwani Raina has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20535


Change subject: WIP [CLI] Set rpc_max_message_size per available memory to 
accomodate huge response payloads
......................................................................

WIP [CLI] Set rpc_max_message_size per available memory to accomodate 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 add 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 accomodate 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 atleast 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
---
M src/kudu/tools/tool_main.cc
1 file changed, 32 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/35/20535/1
--
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: newchange
Gerrit-Change-Id: Ic27b494bc1fde46c2a095c7291fc840a98429068
Gerrit-Change-Number: 20535
Gerrit-PatchSet: 1
Gerrit-Owner: Ashwani Raina <[email protected]>

Reply via email to