KUDU-2296: Fix deserialization of messages larger than 64MB
KUDU-2296: Fix deserialization of messages larger than 64MB

Protobuf's CodedInputStream has a 64MB total byte limit by
default. When trying to deserialize messages larger than
this, ParseMessage() hits this limit and mistakenly
think that the packet is too short. This issue is dormant
due to Kudu's default rpc_max_message_size of 50MB.
However, Impala will be using a larger value for
rpc_max_message_size and requires this fix.

The fix is to override the default 64MB limit by calling
CodedInputStream::SetTotalByteLimit() with the buffer's
size.

Change-Id: I57d3f3ca6ec0aa8be0e67e6a13c4b560c9d2c63a
Reviewed-on: http://gerrit.cloudera.org:8080/9312
Tested-by: Kudu Jenkins
Reviewed-by: Todd Lipcon <2c763d726a8c2f6afda9be7e0e56a2caa6bb5e6b@apache.org>

andrwng/kudu,helifu/kudu,andrwng/kudu,InspurUSA/kudu,EvilMcJerkface/kudu,helifu/kudu,helifu/kudu,helifu/kudu,InspurUSA/kudu,helifu/kudu,andrwng/kudu,andrwng/kudu,cloudera/kudu,helifu/kudu,cloudera/kudu,andrwng/kudu,andrwng/kudu,helifu/kudu,InspurUSA/kudu,EvilMcJerkface/kudu,EvilMcJerkface/kudu,InspurUSA/kudu,andrwng/kudu,cloudera/kudu,EvilMcJerkface/kudu,cloudera/kudu,InspurUSA/kudu,helifu/kudu,cloudera/kudu,andrwng/kudu,EvilMcJerkface/kudu,andrwng/kudu,InspurUSA/kudu,cloudera/kudu,cloudera/kudu,cloudera/kudu,EvilMcJerkface/kudu,EvilMcJerkface/kudu,InspurUSA/kudu,cloudera/kudu,InspurUSA/kudu,EvilMcJerkface/kudu,InspurUSA/kudu,helifu/kudu,EvilMcJerkface/kudu