© Deepak Vohra 2016

Deepak Vohra, Apache HBase Primer, 10.1007/978-1-4842-2424-3_10

10. Finding a Row in a Table

Deepak Vohra

(1)Apt 105, White Rock, British Columbia, Canada

In this chapter I discuss how a row in a Apache HBase table is found. The sequence used to find a row/s is as follows:

  1. HBase identifies the file/s (HFiles) that store/s the row/s requested using the metadata

  2. Each HFile keeps a block index that identifies the block in the HFile where a row is found

  3. After finding the block that could contain a row, HBase scans the block to retrieve all key/value pairs requested, and copy of the key/value pairs is stored in the block cache in memory

  4. The requested row is returned to the client

  5. Subsequent requests for the same row/s get served from ...

Get Apache HBase Primer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.