HBASE-23056 Block count is 0 when BucketCache using persistent IOEngine and retrieve from file
Signed-off-by: Reid Chan <reidchan@apache.org>
This commit is contained in:
parent
558d835654
commit
4a0442d14e
|
@ -1120,6 +1120,7 @@ public class BucketCache implements BlockCache, HeapSize {
|
|||
bucketAllocator = allocator;
|
||||
deserialiserMap = deserMap;
|
||||
backingMap = backingMapFromFile;
|
||||
blockNumber.set(backingMap.size());
|
||||
} finally {
|
||||
if (ois != null) {
|
||||
ois.close();
|
||||
|
|
Loading…
Reference in New Issue