Details
Description
Setting scanner caching is somewhat of a black art. It's hard to estimate ahead of time how large the result set will be.
I propose we hbase.client.scanner.max.result.size to 2mb. That is good compromise between performance and buffer usage on typical networks (avoiding OOMs when the caching was chosen too high).
To an HTable client this is completely transparent.