Repository: accumulo
Updated Branches:
refs/heads/metrics2 580a31bc6 -> 1208d8eaa
Get the filesink actually configured (glob configuration appears to not work)
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/1208d8ea
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/1208d8ea
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/1208d8ea
Branch: refs/heads/metrics2
Commit: 1208d8eaa231acaa8fce8f61ae7dd77ec5a58a09
Parents: 580a31b
Author: Josh Elser <elserj@apache.org>
Authored: Tue Dec 2 18:05:55 2014 -0500
Committer: Josh Elser <elserj@apache.org>
Committed: Tue Dec 2 18:05:55 2014 -0500
----------------------------------------------------------------------
.../conf/templates/hadoop-metrics2-accumulo.properties.example | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/1208d8ea/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
index 8e5bc5f..c91eb83 100644
--- a/assemble/conf/templates/hadoop-metrics2-accumulo.properties.example
+++ b/assemble/conf/templates/hadoop-metrics2-accumulo.properties.example
@@ -13,10 +13,9 @@
# 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
+# Single log file with all metrics
+accumulo.sink.file-all.class=org.apache.hadoop.metrics2.sink.FileSink
accumulo.sink.file-all.filename=all.metrics
|