HDDS-1360. Invalid metric type due to fully qualified class name. Contributed by Doroszlai, Attila.

This commit is contained in:
Yiqun Lin 2019-04-01 19:26:44 +08:00
parent ef5de29243
commit 8bfef21efa
1 changed files with 2 additions and 1 deletions

View File

@ -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;