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 bh...@apache.org on 2019/07/17 19:05:53 UTC
[hadoop] branch trunk updated: HDDS-1721 : Client Metrics are not
being pushed to the configured sink while running a hadoop command to write
to Ozone. (#1034)
This is an automated email from the ASF dual-hosted git repository.
bharat 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 303a7f8 HDDS-1721 : Client Metrics are not being pushed to the configured sink while running a hadoop command to write to Ozone. (#1034)
303a7f8 is described below
commit 303a7f8a39349e518e0050860a2656f6e58ee704
Author: avijayanhwx <14...@users.noreply.github.com>
AuthorDate: Wed Jul 17 12:05:43 2019 -0700
HDDS-1721 : Client Metrics are not being pushed to the configured sink while running a hadoop command to write to Ozone. (#1034)
---
.../src/main/java/org/apache/hadoop/hdds/scm/XceiverClientMetrics.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientMetrics.java b/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientMetrics.java
index 6c40921..5d43c5e 100644
--- a/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientMetrics.java
+++ b/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientMetrics.java
@@ -69,6 +69,7 @@ public class XceiverClientMetrics {
}
public static XceiverClientMetrics create() {
+ DefaultMetricsSystem.initialize(SOURCE_NAME);
MetricsSystem ms = DefaultMetricsSystem.instance();
return ms.register(SOURCE_NAME, "Storage Container Client Metrics",
new XceiverClientMetrics());
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org