HDDS-1360. Invalid metric type due to fully qualified class name. Contributed by Doroszlai, Attila.
This commit is contained in:
parent
ef5de29243
commit
8bfef21efa
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue