HBASE-6380 bulkload should update the store.storeSize
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1361203 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8a0b742b4d
commit
fabf76eaee
|
@ -583,7 +583,9 @@ public class Store extends SchemaConfigured implements HeapSize {
|
||||||
this.family.getBloomFilterType(), this.dataBlockEncoder);
|
this.family.getBloomFilterType(), this.dataBlockEncoder);
|
||||||
passSchemaMetricsTo(sf);
|
passSchemaMetricsTo(sf);
|
||||||
|
|
||||||
sf.createReader();
|
StoreFile.Reader r = sf.createReader();
|
||||||
|
this.storeSize += r.length();
|
||||||
|
this.totalUncompressedBytes += r.getTotalUncompressedBytes();
|
||||||
|
|
||||||
LOG.info("Moved HFile " + srcPath + " into store directory " +
|
LOG.info("Moved HFile " + srcPath + " into store directory " +
|
||||||
homedir + " - updating store file list.");
|
homedir + " - updating store file list.");
|
||||||
|
|
Loading…
Reference in New Issue