Support Questions
Find answers, ask questions, and share your expertise

How regionserver in hbase will read huge hfiles?

Let say i have a region with region max store file size 10 GB and after major compaction i have a single hfile with size 9GB(stored in hadoop). Now my doubt is how regionserver will read and process that 9GB file from hadoop.

Will it initially load that file to regionserver inmemory? if yes how it is possible if my heap size is only 8GB?

1 ACCEPTED SOLUTION

Accepted Solutions

HBase does not have to read an entire HFile into memory to service reads.

View solution in original post

2 REPLIES 2

HBase does not have to read an entire HFile into memory to service reads.

View solution in original post

@Josh Elser

Tnx dude for your reply, can you please explain me how query matcher in hbase work or else if you have a good link regarding query matcher please share with me, it will helpful for me to understand.

Thank you