Member since
12-11-2022
5
Posts
1
Kudos Received
0
Solutions
12-29-2022
02:47 AM
Hello @smdas , can you let me know or tag Hbase engineers who could provide more clarity on my doubts especially on the caching? It would be very helpful. Thanks
... View more
12-27-2022
11:27 PM
Hello @smdas Thanks for the response. https://issues.apache.org/jira/browse/HBASE-24289 https://docs.google.com/document/d/1fk_EWLNnxniwt3gDjUS_apQ3cPzn90AmvDT1wkirvKE/edit# These links mention date tiered compaction policy in hbase. Does it somehow help in configuring different policy for same column family? or did i misunderstood?
... View more
12-27-2022
10:57 PM
@smdas Thank you for responding to the post. I had seen article [2].Based on [1], you are saying that for every operation a lookup is done in block cache and memstore. I had tried to verify the theory and that led to my Question [3] related to cache miss. If for every read request a merge happens (block cache look up done) , why am I not seeing any change in cache hits? Also, on the consistency point, if scanner finds new data in memstore as compared to block cache, will hbase update the block cache data that corresponds to latest edit in memstore? Regards, @sachin_saju
... View more
12-27-2022
01:07 AM
1 Kudo
I am trying to understand how read and write happens in HBase and how HBase does the caching. From various articles and videos, I found that a read merge happens when a read request is made to HBase. What I understood is: Whenever read request made, block cache is first checked for the data. Then memstore is checked. If data found in both block cache or memstore, data is sent to client. Else fetched from hfiles. My doubts are whether both block cache and memstore is always checked for the data? or whether memstore will be ignored if found in block cache. If memstore not checked (since found in blockcache),how will client get latest value if there was an edit in memstore? I created a new table. I added one row. I issued get command to fetch the data. I obtained the data but I didn't see any change in cache hits and reads of block cache. Why? I know there are multiple questions but all these are linked to read merge and HBase caching. I need a clarity on these concepts and I could not find any in documentation.
... View more
Labels:
12-26-2022
10:01 PM
I have a table named 'X' and a column family 'cf. The table contains data of past 5 years. Old data are requested only few times whereas recent data are accessed frequently. I wanted to apply different storage policies for the data based on time. How can i configure ? Also is it possible to specify different compression algorithms for hot and cold data in single column family? I am asking this because in HBase documentation, different algorithms are recommended for hot and cold data.
... View more
Labels: