hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1535503 - in /hbase/branches/0.94/src: main/java/org/apache/hadoop/hbase/master/metrics/MasterMetrics.java test/java/org/apache/hadoop/hbase/master/metrics/TestMasterStatistics.java
Date Thu, 24 Oct 2013 19:15:13 GMT
Author: tedyu
Date: Thu Oct 24 19:15:13 2013
New Revision: 1535503

URL: http://svn.apache.org/r1535503
Log:
HBASE-8397 Revert due to test failure in secure build


Removed:
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/master/metrics/TestMasterStatistics.java
Modified:
    hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/metrics/MasterMetrics.java

Modified: hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/metrics/MasterMetrics.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/metrics/MasterMetrics.java?rev=1535503&r1=1535502&r2=1535503&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/metrics/MasterMetrics.java
(original)
+++ hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/metrics/MasterMetrics.java
Thu Oct 24 19:15:13 2013
@@ -30,6 +30,7 @@ import org.apache.hadoop.metrics.Metrics
 import org.apache.hadoop.metrics.MetricsUtil;
 import org.apache.hadoop.metrics.Updater;
 import org.apache.hadoop.metrics.jvm.JvmMetrics;
+import org.apache.hadoop.metrics.util.MetricsLongValue;
 import org.apache.hadoop.metrics.util.MetricsRegistry;
 
 
@@ -89,7 +90,7 @@ public class MasterMetrics implements Up
 
     // get custom attributes
     try {
-      Object m =
+      Object m = 
         ContextFactory.getFactory().getAttribute("hbase.extendedperiod");
       if (m instanceof String) {
         this.extendedPeriod = Long.parseLong((String) m)*1000;
@@ -134,7 +135,7 @@ public class MasterMetrics implements Up
   public void resetAllMinMax() {
     // Nothing to do
   }
-
+  
   /**
    * Record a single instance of a split
    * @param time time that the split took



Mime
View raw message