hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-15366) Add doc, trace-level logging, and test around hfileblock
Date Tue, 01 Mar 2016 06:54:18 GMT
stack created HBASE-15366:
-----------------------------

             Summary: Add doc, trace-level logging, and test around hfileblock
                 Key: HBASE-15366
                 URL: https://issues.apache.org/jira/browse/HBASE-15366
             Project: HBase
          Issue Type: Sub-task
          Components: BlockCache
            Reporter: stack
            Assignee: stack


What hfileblock is doing -- that it overreads when pulling in from hdfs to fetch the header
of the next block to save on seeks; that it caches the block and overread and then adds an
extra 13 bytes to the cached entry; that buckets in bucketcache have at least four hfileblocks
in them and so on -- was totally baffling me. This patch docs the class, adds some trace-level
logging so you can see if you are doing the right thing, and then adds a test of file-backed
bucketcache that checks that persistence is working.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message