accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [2/2] accumulo git commit: General example to get tserver sink configured.
Date Tue, 02 Dec 2014 22:08:48 GMT
General example to get tserver sink configured.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/1aacbf0f
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/1aacbf0f
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/1aacbf0f

Branch: refs/heads/metrics2
Commit: 1aacbf0fb7819da587e0f740bb8413640dd721f5
Parents: ad6bb3e
Author: Josh Elser <elserj@apache.org>
Authored: Tue Dec 2 17:08:24 2014 -0500
Committer: Josh Elser <elserj@apache.org>
Committed: Tue Dec 2 17:08:24 2014 -0500

----------------------------------------------------------------------
 .../hadoop-metrics2-accumulo.properties.example | 22 ++++++++++++++++++++
 1 file changed, 22 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/1aacbf0f/assemble/conf/templates/hadoop-metrics2-accumulo.properties.example
----------------------------------------------------------------------
diff --git a/assemble/conf/templates/hadoop-metrics2-accumulo.properties.example b/assemble/conf/templates/hadoop-metrics2-accumulo.properties.example
new file mode 100644
index 0000000..8e5bc5f
--- /dev/null
+++ b/assemble/conf/templates/hadoop-metrics2-accumulo.properties.example
@@ -0,0 +1,22 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Write metrics to a file
+*.sink.file.class=org.apache.hadoop.metrics2.sink.FileSink
+
+# Poll collectors every ten seconds
+*.period=10
+
+accumulo.sink.file-all.filename=all.metrics


Mime
View raw message