You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by yq...@apache.org on 2019/04/01 11:27:24 UTC

[hadoop] branch trunk updated: HDDS-1360. Invalid metric type due to fully qualified class name. Contributed by Doroszlai, Attila.

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

yqlin pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 8bfef21  HDDS-1360. Invalid metric type due to fully qualified class name. Contributed by Doroszlai, Attila.
8bfef21 is described below

commit 8bfef21efaa8698976e6d80359c66116d7b451ea
Author: Yiqun Lin <yq...@apache.org>
AuthorDate: Mon Apr 1 19:26:44 2019 +0800

    HDDS-1360. Invalid metric type due to fully qualified class name. Contributed by Doroszlai, Attila.
---
 .../java/org/apache/hadoop/hdds/scm/server/SCMContainerMetrics.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMContainerMetrics.java b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMContainerMetrics.java
index 7466142..5e8e137 100644
--- a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMContainerMetrics.java
+++ b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMContainerMetrics.java
@@ -42,7 +42,8 @@ import org.apache.hadoop.metrics2.lib.Interns;
 public class SCMContainerMetrics implements MetricsSource {
 
   private final SCMMXBean scmmxBean;
-  private static final String SOURCE = SCMContainerMetrics.class.getName();
+  private static final String SOURCE =
+      SCMContainerMetrics.class.getSimpleName();
 
   public SCMContainerMetrics(SCMMXBean scmmxBean) {
     this.scmmxBean = scmmxBean;


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org