hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1196389 - /hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/MemStore.java
Date Tue, 01 Nov 2011 23:19:59 GMT
Author: stack
Date: Tue Nov  1 23:19:59 2011
New Revision: 1196389

URL: http://svn.apache.org/viewvc?rev=1196389&view=rev
Log:
HBASE-3680 Publish more metrics about mslab; REVERT

Modified:
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/MemStore.java

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/MemStore.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/MemStore.java?rev=1196389&r1=1196388&r2=1196389&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/MemStore.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/MemStore.java Tue Nov 
1 23:19:59 2011
@@ -124,18 +124,6 @@ public class MemStore implements HeapSiz
     }
   }
 
-  /**
-   * @return the number of bytes "wasted" by external fragmentation
-   * in the MSLAB, if configured.
-   */
-  long getMslabWaste() {
-    if (allocator != null) {
-      return allocator.getWastedBytes();
-    } else {
-      return 0;
-    }
-  }
-
   void dump() {
     for (KeyValue kv: this.kvset) {
       LOG.info(kv);



Mime
View raw message