diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/SplitLogCounters.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/SplitLogCounters.java index 7f8069ac044..b9614b4ef4c 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/SplitLogCounters.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/SplitLogCounters.java @@ -88,7 +88,7 @@ public class SplitLogCounters { public static void resetCounters() throws Exception { Class cl = (new SplitLogCounters()).getClass(); for (Field fld : cl.getDeclaredFields()) { - ((AtomicLong)fld.get(null)).set(0); + if (!fld.isSynthetic()) ((AtomicLong)fld.get(null)).set(0); } } }