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 Threaded View
HBase >> mail # user >> when all index block are in block cahe , the scan should use random-read


Copy link to this message
-
Re: when all index block are in block cahe , the scan should use random-read
Can you log a Jira ?

If you provide a patch, that would be great.

Thanks

On Sep 3, 2012, at 2:03 AM, jlei liu <[EMAIL PROTECTED]> wrote:

> I am using the Hbase0.94 version.
>
>
> The scan use sequential read in Hbase0.94.
>
> if all index block of one HFile are  in block cache , when user set start
> key and stop key, we can use  *BlockIndexReader.seekToDataBlock(startKey)
> and BlockIndexReader.seekToDataBlock(**stopKey) to receive offsets of start
> data block and end data block, and then we can use the pread to implement
> scan, I think that can improve scan performance.
>
>
> *
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