[ https://issues.apache.org/jira/browse/HBASE-21981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16783026#comment-16783026 ]
Anoop Sam John commented on HBASE-21981: ---------------------------------------- It has to be either an index or a global offset number. (offset of this BB in the entire BC space). The multi threading way really helps when the size of the cache is big.. > MMaped bucket cache IOEngine does not work with persistence > ----------------------------------------------------------- > > Key: HBASE-21981 > URL: https://issues.apache.org/jira/browse/HBASE-21981 > Project: HBase > Issue Type: Bug > Components: BucketCache > Affects Versions: 2.1.3 > Reporter: ramkrishna.s.vasudevan > Assignee: Anoop Sam John > Priority: Major > Fix For: 3.0.0, 2.2.0, 2.0.5, 2.3.0, 2.1.4 > > Attachments: HBASE-21981.patch, HBASE-21981.patch > > > The MMap based IOEngines does not retrieve the data back if > 'hbase.bucketcache.persistent.path' is enabled. FileIOEngine works fine but > only the FileMMapEngine has this problem. > The reason is that we don't get the byte buffers in the proper order while > reading back from the file in case of persistence. -- This message was sent by Atlassian JIRA (v7.6.3#76005)