hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1387359 - in /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics: ./ file/ histogram/
Date Tue, 18 Sep 2012 20:58:27 GMT
Author: stack
Date: Tue Sep 18 20:58:26 2012
New Revision: 1387359

URL: http://svn.apache.org/viewvc?rev=1387359&view=rev
Log:
HBASE-6809 Deprecate Old metrics classes.

Modified:
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/ExactCounterMetric.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/HBaseInfo.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/MetricsMBeanBase.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/MetricsRate.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/MetricsString.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/PersistentMetricsTimeVaryingRate.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/file/TimeStampingFileContext.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/histogram/MetricsHistogram.java

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/ExactCounterMetric.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/ExactCounterMetric.java?rev=1387359&r1=1387358&r2=1387359&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/ExactCounterMetric.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/ExactCounterMetric.java
Tue Sep 18 20:58:26 2012
@@ -37,6 +37,7 @@ import com.google.common.base.Function;
 import com.google.common.collect.Lists;
 import com.google.common.collect.MapMaker;
 
+@Deprecated
 public class ExactCounterMetric extends MetricsBase {
 
   private static final int DEFAULT_TOP_N = 5;

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/HBaseInfo.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/HBaseInfo.java?rev=1387359&r1=1387358&r2=1387359&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/HBaseInfo.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/HBaseInfo.java
Tue Sep 18 20:58:26 2012
@@ -31,6 +31,7 @@ import javax.management.ObjectName;
 /**
  * Exports HBase system information as an MBean for JMX observation.
  */
+@Deprecated
 @InterfaceAudience.Private
 public class HBaseInfo {
   protected static class HBaseInfoMBean extends MetricsMBeanBase {

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/MetricsMBeanBase.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/MetricsMBeanBase.java?rev=1387359&r1=1387358&r2=1387359&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/MetricsMBeanBase.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/MetricsMBeanBase.java
Tue Sep 18 20:58:26 2012
@@ -45,6 +45,7 @@ import org.apache.hadoop.metrics.util.Me
  * org.apache.hadoop.metrics.util implementations.
  *
  */
+@Deprecated
 @InterfaceAudience.Private
 public class MetricsMBeanBase extends MetricsDynamicMBeanBase {
 

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/MetricsRate.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/MetricsRate.java?rev=1387359&r1=1387358&r2=1387359&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/MetricsRate.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/MetricsRate.java
Tue Sep 18 20:58:26 2012
@@ -29,6 +29,7 @@ import org.apache.hadoop.util.StringUtil
  * Publishes a rate based on a counter - you increment the counter each
  * time an event occurs (eg: an RPC call) and this publishes a rate.
  */
+@Deprecated
 @InterfaceAudience.Private
 public class MetricsRate extends MetricsBase {
   private static final Log LOG = LogFactory.getLog("org.apache.hadoop.hbase.metrics");

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/MetricsString.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/MetricsString.java?rev=1387359&r1=1387358&r2=1387359&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/MetricsString.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/MetricsString.java
Tue Sep 18 20:58:26 2012
@@ -27,6 +27,7 @@ import org.apache.hadoop.metrics.util.Me
 /**
  * Publishes a string to the metrics collector
  */
+@Deprecated
 @InterfaceAudience.Private
 public class MetricsString extends MetricsBase {
   private static final Log LOG = LogFactory.getLog("org.apache.hadoop.hbase.metrics");

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/PersistentMetricsTimeVaryingRate.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/PersistentMetricsTimeVaryingRate.java?rev=1387359&r1=1387358&r2=1387359&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/PersistentMetricsTimeVaryingRate.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/PersistentMetricsTimeVaryingRate.java
Tue Sep 18 20:58:26 2012
@@ -29,6 +29,7 @@ import org.apache.hadoop.util.StringUtil
  * This class extends MetricsTimeVaryingRate to let the metrics
  * persist past a pushMetric() call
  */
+@Deprecated
 @InterfaceAudience.Private
 public class PersistentMetricsTimeVaryingRate extends MetricsTimeVaryingRate {
   protected static final Log LOG =

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/file/TimeStampingFileContext.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/file/TimeStampingFileContext.java?rev=1387359&r1=1387358&r2=1387359&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/file/TimeStampingFileContext.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/file/TimeStampingFileContext.java
Tue Sep 18 20:58:26 2012
@@ -34,6 +34,7 @@ import org.apache.hadoop.metrics.spi.Out
 /**
  * Add timestamp to {@link org.apache.hadoop.metrics.file.FileContext#emitRecord(String,
String, OutputRecord)}.
  */
+@Deprecated
 @InterfaceAudience.Private
 public class TimeStampingFileContext extends FileContext {
   // Copies bunch of FileContext here because writer and file are private in

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/histogram/MetricsHistogram.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/histogram/MetricsHistogram.java?rev=1387359&r1=1387358&r2=1387359&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/histogram/MetricsHistogram.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/metrics/histogram/MetricsHistogram.java
Tue Sep 18 20:58:26 2012
@@ -30,6 +30,7 @@ import com.yammer.metrics.stats.Snapshot
 import com.yammer.metrics.stats.UniformSample;
 import com.yammer.metrics.stats.ExponentiallyDecayingSample;
 
+@Deprecated
 public class MetricsHistogram extends MetricsBase {
   
   // 1028 items implies 99.9% CI w/ 5% margin of error 



Mime
View raw message