This is an automated email from the ASF dual-hosted git repository.

edcoleman pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/2.1 by this push:
     new 6c8e175eab address obsolete hadoop 2 metrics references. Removes 
deprecated properties and a comment (#4503)
6c8e175eab is described below

commit 6c8e175eab871428e0340d65bdcedbef0d332c42
Author: EdColeman <d...@etcoleman.com>
AuthorDate: Mon Apr 29 12:24:41 2024 -0400

    address obsolete hadoop 2 metrics references. Removes deprecated properties 
and a comment (#4503)
---
 core/src/main/java/org/apache/accumulo/core/conf/Property.java      | 6 ------
 .../apache/accumulo/tserver/metrics/TabletServerMetricsUtil.java    | 2 --
 2 files changed, 8 deletions(-)

diff --git a/core/src/main/java/org/apache/accumulo/core/conf/Property.java 
b/core/src/main/java/org/apache/accumulo/core/conf/Property.java
index 80a9b21b33..fc5a52f239 100644
--- a/core/src/main/java/org/apache/accumulo/core/conf/Property.java
+++ b/core/src/main/java/org/apache/accumulo/core/conf/Property.java
@@ -382,9 +382,6 @@ public enum Property {
   MANAGER_WALOG_CLOSER_IMPLEMETATION("manager.walog.closer.implementation",
       "org.apache.accumulo.server.manager.recovery.HadoopLogCloser", 
PropertyType.CLASSNAME,
       "A class that implements a mechanism to steal write access to a 
write-ahead log.", "1.5.0"),
-  @Deprecated
-  MANAGER_FATE_METRICS_ENABLED("manager.fate.metrics.enabled", "true", 
PropertyType.BOOLEAN,
-      "Enable reporting of FATE metrics in JMX (and logging with Hadoop 
Metrics2).", "1.9.3"),
   
MANAGER_FATE_METRICS_MIN_UPDATE_INTERVAL("manager.fate.metrics.min.update.interval",
 "60s",
       PropertyType.TIMEDURATION, "Limit calls from metric sinks to zookeeper 
to update interval.",
       "1.9.3"),
@@ -924,9 +921,6 @@ public enum Property {
           + " and possibly compacted. Legal values are: compact - which both 
flushes and compacts the"
           + " metadata; flush - which flushes only (compactions may be 
triggered if required); or none.",
       "1.10.0"),
-  @Deprecated
-  GC_METRICS_ENABLED("gc.metrics.enabled", "true", PropertyType.BOOLEAN,
-      "Enable detailed gc metrics reporting with hadoop metrics.", "1.10.0"),
 
   // properties that are specific to the monitor server behavior
   MONITOR_PREFIX("monitor.", null, PropertyType.PREFIX,
diff --git 
a/server/tserver/src/main/java/org/apache/accumulo/tserver/metrics/TabletServerMetricsUtil.java
 
b/server/tserver/src/main/java/org/apache/accumulo/tserver/metrics/TabletServerMetricsUtil.java
index f508a6871e..599065d7c7 100644
--- 
a/server/tserver/src/main/java/org/apache/accumulo/tserver/metrics/TabletServerMetricsUtil.java
+++ 
b/server/tserver/src/main/java/org/apache/accumulo/tserver/metrics/TabletServerMetricsUtil.java
@@ -24,8 +24,6 @@ import org.apache.accumulo.tserver.tablet.Tablet;
 
 /**
  * Wrapper around extracting metrics from a TabletServer instance
- *
- * Necessary to support both old custom JMX metrics and Hadoop Metrics2
  */
 public class TabletServerMetricsUtil {
 

Reply via email to