Skip to content

Commit a69eb02

Browse files
charlesconnellbbeaudreault
authored andcommitted
HubSpot Backport: HBASE-28059 Use correct units in RegionLoad#getStoreUncompressedSizeMB() (apache#5382)
Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Peter Somogyi <psomogyi@apache.org>
1 parent 47d2df5 commit a69eb02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hbase-client/src/main/java/org/apache/hadoop/hbase/RegionLoad.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ public List<ClusterStatusProtos.StoreSequenceId> getStoreCompleteSequenceId() {
329329
*/
330330
@Deprecated
331331
public int getStoreUncompressedSizeMB() {
332-
return (int) metrics.getUncompressedStoreFileSize().get(Size.Unit.KILOBYTE);
332+
return (int) metrics.getUncompressedStoreFileSize().get(Size.Unit.MEGABYTE);
333333
}
334334

335335
/** Returns the data locality of region in the regionserver. */

0 commit comments

Comments
 (0)