Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Question about HFile seeking


Copy link to this message
-
Question about HFile seeking
Varun Sharma 2013-05-16, 20:56
Lets say I have the following in my table:

            col1
row1       v1          ------> HFile entry would be "row1,col1,ts1-->v1"
             ol1
row1c     v2          ------> HFile entry would be "row1c,ol1,ts1-->v2"

Now I issue a prefix scan asking row for row "row1c", how do we seek - do
we seek directly to row1c or would we seek to row1 first and then to row1c.
The reason being that the HFile keys are the same for both the keys. I
simply absorb one character from the column into the row.

Thanks
Varun