Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> setCaching and setBatch


+
John 2013-11-04, 17:19
Copy link to this message
-
Re: setCaching and setBatch
Have u tested this?  AFAIK it happens the way u like.

-Anoop-

On Mon, Nov 4, 2013 at 10:49 PM, John <[EMAIL PROTECTED]> wrote:

> Hi,
>
> If I have a question about the setCaching function. As I know the caching
> value influence how many rows will be cached in the memory of the region
> server. So for example I have 10 rows with 20k columns and I set a scanner
> with the caching option 5 and the batch option 1k. What will hapen If I
> call the next() function?
>
> As far as I know, the region server will cache 5 rows with 1k columns each
> in the memory. If thats right, is there a way to cache the batches instead
> of the rows? In this example I would like to cache 5 batches from row one
> instead of 5 rows with each 1k columns.
>
> kind regards
>
+
Asaf Mesika 2013-11-04, 17:55
+
John 2013-11-04, 18:47
+
Ted Yu 2013-11-04, 21:26
+
Vladimir Rodionov 2013-11-04, 22:08
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB