hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fab...@apache.org
Subject [20/50] [abbrv] hadoop git commit: HADOOP-13667. Fix typing mistake of inline document in hadoop-metrics2.properties (Contributed by Rui Gao via Daniel Templeton)
Date Mon, 07 Nov 2016 00:54:31 GMT
HADOOP-13667. Fix typing mistake of inline document in hadoop-metrics2.properties (Contributed
by Rui Gao via Daniel Templeton)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/0dc2a6a3
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/0dc2a6a3
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/0dc2a6a3

Branch: refs/heads/HADOOP-13345
Commit: 0dc2a6a3a50add18e959475032264b04aff18fc4
Parents: cb5cc0d
Author: Daniel Templeton <templedf@apache.org>
Authored: Wed Nov 2 06:52:27 2016 -0700
Committer: Daniel Templeton <templedf@apache.org>
Committed: Wed Nov 2 06:53:33 2016 -0700

----------------------------------------------------------------------
 .../src/main/conf/hadoop-metrics2.properties    | 22 +++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/0dc2a6a3/hadoop-common-project/hadoop-common/src/main/conf/hadoop-metrics2.properties
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/conf/hadoop-metrics2.properties
b/hadoop-common-project/hadoop-common/src/main/conf/hadoop-metrics2.properties
index 0c09228..16fdcf0 100644
--- a/hadoop-common-project/hadoop-common/src/main/conf/hadoop-metrics2.properties
+++ b/hadoop-common-project/hadoop-common/src/main/conf/hadoop-metrics2.properties
@@ -50,9 +50,25 @@
 # If '*' all tags are used. If specifiying multiple tags separate them with 
 # commas. Note that the last segment of the property name is the context name.
 #
-#*.sink.ganglia.tagsForPrefix.jvm=ProcesName
-#*.sink.ganglia.tagsForPrefix.dfs=
-#*.sink.ganglia.tagsForPrefix.rpc=
+# A typical use of tags is separating the metrics by the HDFS rpc port
+# and HDFS service rpc port.
+# For example:
+#   With following HDFS configuration:
+#       dfs.namenode.rpc-address is set as namenodeAddress:9110
+#       dfs.namenode.servicerpc-address is set as namenodeAddress:9111
+#   If no tags are used, following metric would be gathered:
+#       rpc.rpc.NumOpenConnections
+#   If using "*.sink.ganglia.tagsForPrefix.rpc=port",
+#   following metrics would be gathered:
+#       rpc.rpc.port=9110.NumOpenConnections
+#       rpc.rpc.port=9111.NumOpenConnections
+#
+#*.sink.ganglia.tagsForPrefix.jvm=ProcessName
+#*.sink.ganglia.tagsForPrefix.dfs=HAState,IsOutOfSync
+#*.sink.ganglia.tagsForPrefix.rpc=port
+#*.sink.ganglia.tagsForPrefix.rpcdetailed=port
+#*.sink.ganglia.tagsForPrefix.metricssystem=*
+#*.sink.ganglia.tagsForPrefix.ugi=*
 #*.sink.ganglia.tagsForPrefix.mapred=
 
 #namenode.sink.ganglia.servers=yourgangliahost_1:8649,yourgangliahost_2:8649


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


Mime
View raw message